Commit 03b5e43f authored by Priyanga Ramasamy's avatar Priyanga Ramasamy Committed by Joel Stanley

ARM: dts: aspeed: everest: Add I2C components

Tested and able to bound the devices with i2c driver.
Signed-off-by: default avatarPriyanga Ramasamy <priyanga24@in.ibm.com>
Signed-off-by: default avatarEddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20210329150020.13632-13-eajames@linux.ibm.comSigned-off-by: default avatarJoel Stanley <joel@jms.id.au>
parent 0d7208d9
......@@ -45,6 +45,25 @@ aliases {
i2c416 = &cfam3_i2c16;
i2c417 = &cfam3_i2c17;
i2c16 = &i2c4mux0chn0;
i2c17 = &i2c4mux0chn1;
i2c18 = &i2c4mux0chn2;
i2c19 = &i2c5mux0chn0;
i2c20 = &i2c5mux0chn1;
i2c21 = &i2c5mux0chn2;
i2c22 = &i2c5mux0chn3;
i2c23 = &i2c6mux0chn0;
i2c24 = &i2c6mux0chn1;
i2c25 = &i2c6mux0chn2;
i2c26 = &i2c6mux0chn3;
i2c27 = &i2c14mux0chn0;
i2c28 = &i2c14mux0chn1;
i2c29 = &i2c14mux0chn2;
i2c30 = &i2c14mux1chn0;
i2c31 = &i2c14mux1chn1;
i2c32 = &i2c14mux1chn2;
i2c33 = &i2c14mux1chn3;
serial4 = &uart5;
spi10 = &cfam0_spi0;
......@@ -105,6 +124,395 @@ vga_memory: region@bf000000 {
};
};
&i2c0 {
status = "okay";
eeprom@51 {
compatible = "atmel,24c64";
reg = <0x51>;
};
};
&i2c1 {
status = "okay";
};
&i2c2 {
status = "okay";
};
&i2c3 {
status = "okay";
eeprom@54 {
compatible = "atmel,24c128";
reg = <0x54>;
};
};
&i2c4 {
status = "okay";
i2c-switch@70 {
compatible = "nxp,pca9546";
reg = <0x70>;
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
i2c-mux-idle-disconnect;
i2c4mux0chn0: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
eeprom@52 {
compatible = "atmel,24c64";
reg = <0x52>;
};
};
i2c4mux0chn1: i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
eeprom@50 {
compatible = "atmel,24c64";
reg = <0x50>;
};
};
i2c4mux0chn2: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
eeprom@51 {
compatible = "atmel,24c64";
reg = <0x51>;
};
};
};
};
&i2c5 {
status = "okay";
i2c-switch@70 {
compatible = "nxp,pca9546";
reg = <0x70>;
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
i2c-mux-idle-disconnect;
i2c5mux0chn0: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
eeprom@50 {
compatible = "atmel,24c64";
reg = <0x50>;
};
};
i2c5mux0chn1: i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
eeprom@51 {
compatible = "atmel,24c64";
reg = <0x51>;
};
};
i2c5mux0chn2: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
eeprom@52 {
compatible = "atmel,24c64";
reg = <0x52>;
};
};
i2c5mux0chn3: i2c@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
eeprom@53 {
compatible = "atmel,24c64";
reg = <0x53>;
};
};
};
};
&i2c6 {
status = "okay";
i2c-switch@70 {
compatible = "nxp,pca9546";
reg = <0x70>;
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
i2c-mux-idle-disconnect;
i2c6mux0chn0: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
eeprom@50 {
compatible = "atmel,24c64";
reg = <0x50>;
};
};
i2c6mux0chn1: i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
eeprom@52 {
compatible = "atmel,24c64";
reg = <0x52>;
};
};
i2c6mux0chn2: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
eeprom@53 {
compatible = "atmel,24c64";
reg = <0x53>;
};
};
i2c6mux0chn3: i2c@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
eeprom@51 {
compatible = "atmel,24c64";
reg = <0x51>;
};
};
};
};
&i2c7 {
status = "okay";
};
&i2c8 {
status = "okay";
eeprom@51 {
compatible = "atmel,24c64";
reg = <0x51>;
};
eeprom@50 {
compatible = "atmel,24c128";
reg = <0x50>;
};
};
&i2c9 {
status = "okay";
eeprom@50 {
compatible = "atmel,24c128";
reg = <0x50>;
};
eeprom@51 {
compatible = "atmel,24c128";
reg = <0x51>;
};
eeprom@53 {
compatible = "atmel,24c128";
reg = <0x53>;
};
eeprom@52 {
compatible = "atmel,24c128";
reg = <0x52>;
};
};
&i2c10 {
status = "okay";
eeprom@51 {
compatible = "atmel,24c128";
reg = <0x51>;
};
eeprom@50 {
compatible = "atmel,24c128";
reg = <0x50>;
};
eeprom@53 {
compatible = "atmel,24c128";
reg = <0x53>;
};
eeprom@52 {
compatible = "atmel,24c128";
reg = <0x52>;
};
};
&i2c11 {
status = "okay";
eeprom@51 {
compatible = "atmel,24c128";
reg = <0x51>;
};
eeprom@50 {
compatible = "atmel,24c128";
reg = <0x50>;
};
eeprom@53 {
compatible = "atmel,24c128";
reg = <0x53>;
};
eeprom@52 {
compatible = "atmel,24c128";
reg = <0x52>;
};
};
&i2c12 {
status = "okay";
};
&i2c13 {
status = "okay";
eeprom@51 {
compatible = "atmel,24c128";
reg = <0x51>;
};
eeprom@50 {
compatible = "atmel,24c128";
reg = <0x50>;
};
eeprom@53 {
compatible = "atmel,24c128";
reg = <0x53>;
};
eeprom@52 {
compatible = "atmel,24c128";
reg = <0x52>;
};
};
&i2c14 {
status = "okay";
i2c-switch@70 {
compatible = "nxp,pca9546";
reg = <0x70>;
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
i2c-mux-idle-disconnect;
i2c14mux0chn0: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
eeprom@50 {
compatible = "atmel,24c64";
reg = <0x50>;
};
};
i2c14mux0chn1: i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
eeprom@51 {
compatible = "atmel,24c32";
reg = <0x51>;
};
};
i2c14mux0chn2: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
eeprom@50 {
compatible = "atmel,24c32";
reg = <0x50>;
};
};
};
i2c-switch@71 {
compatible = "nxp,pca9546";
reg = <0x71>;
#address-cells = <1>;
#size-cells = <0>;
status = "okay";
i2c-mux-idle-disconnect;
i2c14mux1chn0: i2c@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
eeprom@50 {
compatible = "atmel,24c32";
reg = <0x50>;
};
};
i2c14mux1chn1: i2c@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
eeprom@50 {
compatible = "atmel,24c32";
reg = <0x50>;
};
};
i2c14mux1chn2: i2c@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
eeprom@50 {
compatible = "atmel,24c32";
reg = <0x50>;
};
};
i2c14mux1chn3: i2c@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
eeprom@50 {
compatible = "atmel,24c32";
reg = <0x50>;
};
};
};
};
&i2c15 {
status = "okay";
};
&ehci1 {
status = "okay";
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment