arm: dts: k3-am642: main_i2c0 cleanup
move main_i2c0, main-i2c0-pins-default, and tca9554 definitions to where they belong i.e. k3-am642-evm.dts k3-am642-r5-evm.dts is not cleaned up like in upstream to include k3-am642-evm.dts so we have to add the main-i2c0-pins-default and tca9554 nodes to it as well. Signed-off-by: Roger Quadros <rogerq@kernel.org>
This commit is contained in:
parent
189bd2cc06
commit
cc471479d3
|
|
@ -36,30 +36,18 @@
|
||||||
|
|
||||||
&main_pmx0 {
|
&main_pmx0 {
|
||||||
bootph-pre-ram;
|
bootph-pre-ram;
|
||||||
main_i2c0_pins_default: main-i2c0-pins-default {
|
};
|
||||||
bootph-pre-ram;
|
|
||||||
pinctrl-single,pins = <
|
&main_i2c0_pins_default {
|
||||||
AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */
|
bootph-pre-ram;
|
||||||
AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&main_i2c0 {
|
&main_i2c0 {
|
||||||
status = "okay";
|
|
||||||
bootph-pre-ram;
|
bootph-pre-ram;
|
||||||
pinctrl-names = "default";
|
};
|
||||||
pinctrl-0 = <&main_i2c0_pins_default>;
|
|
||||||
clock-frequency = <400000>;
|
|
||||||
|
|
||||||
tca9554: gpio@38 {
|
&tca9554 {
|
||||||
/* TCA9554 */
|
bootph-pre-ram;
|
||||||
bootph-pre-ram;
|
|
||||||
compatible = "nxp,pca9554";
|
|
||||||
reg = <0x38>;
|
|
||||||
gpio-controller;
|
|
||||||
#gpio-cells = <2>;
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
&main_uart0 {
|
&main_uart0 {
|
||||||
|
|
|
||||||
|
|
@ -233,6 +233,13 @@
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
main_i2c0_pins_default: main-i2c0-pins-default {
|
||||||
|
pinctrl-single,pins = <
|
||||||
|
AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */
|
||||||
|
AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
|
||||||
main_i2c1_pins_default: main-i2c1-pins-default {
|
main_i2c1_pins_default: main-i2c1-pins-default {
|
||||||
pinctrl-single,pins = <
|
pinctrl-single,pins = <
|
||||||
AM64X_IOPAD(0x0268, PIN_INPUT_PULLUP, 0) /* (C18) I2C1_SCL */
|
AM64X_IOPAD(0x0268, PIN_INPUT_PULLUP, 0) /* (C18) I2C1_SCL */
|
||||||
|
|
@ -335,6 +342,21 @@
|
||||||
status = "reserved";
|
status = "reserved";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
&main_i2c0 {
|
||||||
|
status = "okay";
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&main_i2c0_pins_default>;
|
||||||
|
clock-frequency = <400000>;
|
||||||
|
|
||||||
|
tca9554: gpio@38 {
|
||||||
|
/* TCA9554 */
|
||||||
|
compatible = "nxp,pca9554";
|
||||||
|
reg = <0x38>;
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
&main_i2c1 {
|
&main_i2c1 {
|
||||||
status = "okay";
|
status = "okay";
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
|
|
|
||||||
|
|
@ -226,6 +226,13 @@
|
||||||
AM64X_IOPAD(0x0008, PIN_INPUT, 0) /* (N19) OSPI0_DQS */
|
AM64X_IOPAD(0x0008, PIN_INPUT, 0) /* (N19) OSPI0_DQS */
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
main_i2c0_pins_default: main-i2c0-pins-default {
|
||||||
|
pinctrl-single,pins = <
|
||||||
|
AM64X_IOPAD(0x0260, PIN_INPUT_PULLUP, 0) /* (A18) I2C0_SCL */
|
||||||
|
AM64X_IOPAD(0x0264, PIN_INPUT_PULLUP, 0) /* (B18) I2C0_SDA */
|
||||||
|
>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&dmsc {
|
&dmsc {
|
||||||
|
|
@ -284,6 +291,13 @@
|
||||||
/* EEPROM might be read before SYSFW is available */
|
/* EEPROM might be read before SYSFW is available */
|
||||||
&main_i2c0 {
|
&main_i2c0 {
|
||||||
/delete-property/ power-domains;
|
/delete-property/ power-domains;
|
||||||
|
tca9554: gpio@38 {
|
||||||
|
/* TCA9554 */
|
||||||
|
compatible = "nxp,pca9554";
|
||||||
|
reg = <0x38>;
|
||||||
|
gpio-controller;
|
||||||
|
#gpio-cells = <2>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&usbss0 {
|
&usbss0 {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue