arm64: dts: Add wifi overlay for m5
authorStricted <info@stricted.net>
Sat, 17 Jul 2021 12:00:22 +0000 (12:00 +0000)
committerChristian Hoffmann <chrmhoffmann@gmail.com>
Sun, 12 Feb 2023 08:20:51 +0000 (09:20 +0100)
Change-Id: I338d01d750a701c64f2af488e6f95cf8adf978d1

arch/arm64/boot/dts/amlogic/Makefile
arch/arm64/boot/dts/amlogic/sm1_s905y3_bananapim5.dts
arch/arm64/boot/dts/amlogic/sm1_s905y3_bananapim5_wifi_overlay.dts [new file with mode: 0644]

index cb549a8b8d3a8747e797245f293fbbf45ebd9c83..f4ea10b101bc7a8372a18d53bceeadbed5fc6cfe 100644 (file)
@@ -114,6 +114,7 @@ dtb-y += sm1_s905x3_ac214_drm_buildroot.dtb
 dtb-y += sm1_s905x3_ac215.dtb
 dtb-y += sm1_s905y3_ac223.dtb
 dtb-y += sm1_s905y3_bananapim5.dtb
+dtb-y += sm1_s905y3_bananapim5_wifi_overlay.dtb
 dtb-y += sm1_s905y3_deadpool.dtb
 dtb-y += sm1_s905y3_odroidc4.dtb
 dtb-y += sti6140d350_overlay.dtb
index 9787b624ea30be50d58d7a17904f98c06b11351e..0d26f07883edae23674362925d7714b5a39ab51e 100644 (file)
                status = "disabled";
                gpio_reset = <&gpio       GPIOX_17       GPIO_ACTIVE_HIGH>;
                gpio_hostwake = <&gpio       GPIOX_19       GPIO_ACTIVE_HIGH>;
+               gpio_btwakeup = <&gpio  GPIOX_18        GPIO_ACTIVE_HIGH>;
        };
 
        wifi{
diff --git a/arch/arm64/boot/dts/amlogic/sm1_s905y3_bananapim5_wifi_overlay.dts b/arch/arm64/boot/dts/amlogic/sm1_s905y3_bananapim5_wifi_overlay.dts
new file mode 100644 (file)
index 0000000..a71df41
--- /dev/null
@@ -0,0 +1,36 @@
+/dts-v1/;
+/plugin/;
+
+/{
+       fragment@0 {
+               target-path = "/";
+
+               __overlay__ {
+                       bt-dev {
+                               status = "okay";
+                       };
+
+                       wifi {
+                               status = "okay";
+                       };
+               };
+       };
+
+       fragment@1 {
+               target = <&uart_A>;
+
+               __overlay__ {
+                       status = "okay";
+               };
+       };
+
+       fragment@2 {
+               target = <&pwm_ef>;
+
+               __overlay__ {
+                       status = "okay";
+                       pinctrl-names = "pwm_pins";
+                       pinctrl-0 = <&pwm_e_pins>;
+               };
+       };
+};
\ No newline at end of file