Commit d9fe476d authored by Andrew Davis's avatar Andrew Davis Committed by Nishanth Menon

arm64: dts: ti: k3-j7200: Enable GPIO nodes at the board level

GPIO nodes defined in the top-level J7200 SoC dtsi files are incomplete
and may not be functional unless they are extended with pinmux and
device information.

Disable the GPIO nodes in the dtsi files and only enable the ones that
are actually pinned out on a given board.
Signed-off-by: default avatarAndrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20230810003814.85450-11-afd@ti.comSigned-off-by: default avatarNishanth Menon <nm@ti.com>
parent 578bf4d0
...@@ -240,27 +240,16 @@ &main_uart3 { ...@@ -240,27 +240,16 @@ &main_uart3 {
pinctrl-0 = <&main_uart3_pins_default>; pinctrl-0 = <&main_uart3_pins_default>;
}; };
&main_gpio2 { &main_gpio0 {
status = "disabled"; status = "okay";
};
&main_gpio4 {
status = "disabled";
};
&main_gpio6 {
status = "disabled";
}; };
&wkup_gpio0 { &wkup_gpio0 {
status = "okay";
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&wkup_gpio_pins_default>; pinctrl-0 = <&wkup_gpio_pins_default>;
}; };
&wkup_gpio1 {
status = "disabled";
};
&mcu_cpsw { &mcu_cpsw {
pinctrl-names = "default"; pinctrl-names = "default";
pinctrl-0 = <&mcu_cpsw_pins_default>, <&mcu_mdio_pins_default>; pinctrl-0 = <&mcu_cpsw_pins_default>, <&mcu_mdio_pins_default>;
......
...@@ -833,6 +833,7 @@ main_gpio0: gpio@600000 { ...@@ -833,6 +833,7 @@ main_gpio0: gpio@600000 {
power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>; power-domains = <&k3_pds 105 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 105 0>; clocks = <&k3_clks 105 0>;
clock-names = "gpio"; clock-names = "gpio";
status = "disabled";
}; };
main_gpio2: gpio@610000 { main_gpio2: gpio@610000 {
...@@ -850,6 +851,7 @@ main_gpio2: gpio@610000 { ...@@ -850,6 +851,7 @@ main_gpio2: gpio@610000 {
power-domains = <&k3_pds 107 TI_SCI_PD_EXCLUSIVE>; power-domains = <&k3_pds 107 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 107 0>; clocks = <&k3_clks 107 0>;
clock-names = "gpio"; clock-names = "gpio";
status = "disabled";
}; };
main_gpio4: gpio@620000 { main_gpio4: gpio@620000 {
...@@ -867,6 +869,7 @@ main_gpio4: gpio@620000 { ...@@ -867,6 +869,7 @@ main_gpio4: gpio@620000 {
power-domains = <&k3_pds 109 TI_SCI_PD_EXCLUSIVE>; power-domains = <&k3_pds 109 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 109 0>; clocks = <&k3_clks 109 0>;
clock-names = "gpio"; clock-names = "gpio";
status = "disabled";
}; };
main_gpio6: gpio@630000 { main_gpio6: gpio@630000 {
...@@ -884,6 +887,7 @@ main_gpio6: gpio@630000 { ...@@ -884,6 +887,7 @@ main_gpio6: gpio@630000 {
power-domains = <&k3_pds 111 TI_SCI_PD_EXCLUSIVE>; power-domains = <&k3_pds 111 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 111 0>; clocks = <&k3_clks 111 0>;
clock-names = "gpio"; clock-names = "gpio";
status = "disabled";
}; };
main_spi0: spi@2100000 { main_spi0: spi@2100000 {
......
...@@ -297,6 +297,7 @@ wkup_gpio0: gpio@42110000 { ...@@ -297,6 +297,7 @@ wkup_gpio0: gpio@42110000 {
power-domains = <&k3_pds 113 TI_SCI_PD_EXCLUSIVE>; power-domains = <&k3_pds 113 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 113 0>; clocks = <&k3_clks 113 0>;
clock-names = "gpio"; clock-names = "gpio";
status = "disabled";
}; };
wkup_gpio1: gpio@42100000 { wkup_gpio1: gpio@42100000 {
...@@ -313,6 +314,7 @@ wkup_gpio1: gpio@42100000 { ...@@ -313,6 +314,7 @@ wkup_gpio1: gpio@42100000 {
power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>; power-domains = <&k3_pds 114 TI_SCI_PD_EXCLUSIVE>;
clocks = <&k3_clks 114 0>; clocks = <&k3_clks 114 0>;
clock-names = "gpio"; clock-names = "gpio";
status = "disabled";
}; };
mcu_navss: bus@28380000 { mcu_navss: bus@28380000 {
......
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