mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-06-09 23:36:03 +09:00
mips: octeon: dts: Add I2C DT nodes
Add I2C DT nodes to the Octeon dts / dtsi files. Signed-off-by: Stefan Roese <sr@denx.de>
This commit is contained in:
parent
fad5ec5ecd
commit
7ab932825d
|
@ -86,5 +86,25 @@
|
|||
reg-shift = <3>;
|
||||
interrupts = <0x08040 4>;
|
||||
};
|
||||
|
||||
i2c0: i2c@1180000001000 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "cavium,octeon-7890-twsi";
|
||||
reg = <0x11800 0x00001000 0x0 0x200>;
|
||||
/* INT_ST, INT_TS, INT_CORE */
|
||||
interrupts = <0x0b000 1>, <0x0b001 1>, <0x0b002 1>;
|
||||
clock-frequency = <100000>;
|
||||
};
|
||||
|
||||
i2c1: i2c@1180000001200 {
|
||||
#address-cells = <1>;
|
||||
#size-cells = <0>;
|
||||
compatible = "cavium,octeon-7890-twsi";
|
||||
reg = <0x11800 0x00001200 0x0 0x200>;
|
||||
/* INT_ST, INT_TS, INT_CORE */
|
||||
interrupts = <0x0b100 1>, <0x0b101 1>, <0x0b102 1>;
|
||||
clock-frequency = <100000>;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -94,3 +94,13 @@
|
|||
&uart0 {
|
||||
clock-frequency = <1200000000>;
|
||||
};
|
||||
|
||||
&i2c0 {
|
||||
u-boot,dm-pre-reloc; /* Needed early for DDR SPD EEPROM */
|
||||
clock-frequency = <100000>;
|
||||
};
|
||||
|
||||
&i2c1 {
|
||||
u-boot,dm-pre-reloc; /* Needed early for DDR SPD EEPROM */
|
||||
clock-frequency = <100000>;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user