]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
riscv: dts: thead: Add Lichee Pi 4M GPIO line names
authorEmil Renner Berthing <emil.renner.berthing@canonical.com>
Mon, 14 Oct 2024 17:54:21 +0000 (10:54 -0700)
committerDrew Fustini <dfustini@tenstorrent.com>
Tue, 15 Oct 2024 17:01:18 +0000 (10:01 -0700)
Add names for the GPIO00-GPIO14 lines of the SO-DIMM module.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Thomas Bonnefille <thomas.bonnefille@bootlin.com>
Signed-off-by: Emil Renner Berthing <emil.renner.berthing@canonical.com>
Signed-off-by: Drew Fustini <dfustini@tenstorrent.com>
arch/riscv/boot/dts/thead/th1520-lichee-module-4a.dtsi

index 78977bdbbe3d31a081e1df1b14788ce1ff905daf..724d9645471df915ca24f1d2690af403ade4d0c5 100644 (file)
        clock-frequency = <32768>;
 };
 
+&aogpio {
+       gpio-line-names = "", "", "",
+                         "GPIO00",
+                         "GPIO04";
+};
+
 &dmac0 {
        status = "okay";
 };
        status = "okay";
 };
 
+&gpio0 {
+       gpio-line-names = "", "", "", "", "", "", "", "", "", "",
+                         "", "", "", "", "", "", "", "", "", "",
+                         "", "", "", "",
+                         "GPIO07",
+                         "GPIO08",
+                         "",
+                         "GPIO01",
+                         "GPIO02";
+};
+
+&gpio1 {
+       gpio-line-names = "", "", "",
+                         "GPIO11",
+                         "GPIO12",
+                         "GPIO13",
+                         "GPIO14",
+                         "", "", "", "", "", "", "", "", "", "",
+                         "", "", "", "", "",
+                         "GPIO06";
+};
+
+&gpio2 {
+       gpio-line-names = "GPIO03",
+                         "GPIO05";
+};
+
+&gpio3 {
+       gpio-line-names = "", "",
+                         "GPIO09",
+                         "GPIO10";
+};
+
 &sdio0 {
        bus-width = <4>;
        max-frequency = <198000000>;