Skip to content

Commit

Permalink
arm64: dts: ti: k3-j7200-common-proc-board: Disable unused gpio modules
Browse files Browse the repository at this point in the history
There are 6 gpio instances inside SoC with 2 groups as show below:
    Group one: wkup_gpio0, wkup_gpio1
    Group two: main_gpio0, main_gpio2, main_gpio4, main_gpio6

Only one instance from each group can be used at a time. So use main_gpio0
and wkup_gpio0 in current linux context and disable the rest of the nodes.

Signed-off-by: Faiz Abbas <[email protected]>
Signed-off-by: Sekhar Nori <[email protected]>
Signed-off-by: Aswath Govindraju <[email protected]>
Signed-off-by: Nishanth Menon <[email protected]>
Reviewed-by: Grygorii Strashko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
  • Loading branch information
Faiz-Abbas authored and nmenon committed Mar 26, 2021
1 parent e0b2e6a commit f4cc7da
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions arch/arm64/boot/dts/ti/k3-j7200-common-proc-board.dts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,22 @@
status = "disabled";
};

&main_gpio2 {
status = "disabled";
};

&main_gpio4 {
status = "disabled";
};

&main_gpio6 {
status = "disabled";
};

&wkup_gpio1 {
status = "disabled";
};

&mcu_cpsw {
pinctrl-names = "default";
pinctrl-0 = <&mcu_cpsw_pins_default &mcu_mdio_pins_default>;
Expand Down

0 comments on commit f4cc7da

Please sign in to comment.