]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
arm64: dts: ti: k3-j721e-common-proc-board: Disable unused gpio modules
authorLokesh Vutla <lokeshvutla@ti.com>
Fri, 9 Aug 2019 08:29:45 +0000 (13:59 +0530)
committerTero Kristo <t-kristo@ti.com>
Thu, 29 Aug 2019 13:04:59 +0000 (16:04 +0300)
There are 10 gpio instances inside SoC with 3 groups as below:
- Group1: main_gpio0, main_gpio2, main_gpio4, main_gpio6
- Group2: main_gpio1, main_gpio3, main_gpio5, main_gpio7
- Group3: wkup_gpio0, wkup_gpio1

Only one instance can be used in each group at a time. So use main_gpio0,
main_gpio1 and wkup_gpio0 for the current linux context and mark other
gpio nodes as disabled.

Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Reviewed-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Tero Kristo <t-kristo@ti.com>
arch/arm64/boot/dts/ti/k3-j721e-common-proc-board.dts

index 63b47b8393887cb0efb1c438cadb662080196089..509579ca3db2a088382e2b77736b9ea12f31919f 100644 (file)
        /* UART not brought out */
        status = "disabled";
 };
+
+&main_gpio2 {
+       status = "disabled";
+};
+
+&main_gpio3 {
+       status = "disabled";
+};
+
+&main_gpio4 {
+       status = "disabled";
+};
+
+&main_gpio5 {
+       status = "disabled";
+};
+
+&main_gpio6 {
+       status = "disabled";
+};
+
+&main_gpio7 {
+       status = "disabled";
+};
+
+&wkup_gpio1 {
+       status = "disabled";
+};