From: Stricted Date: Sat, 17 Jul 2021 12:00:22 +0000 (+0000) Subject: arm64: dts: Add wifi overlay for m5 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=144b7ebd0b5e25f9bf78f9553c52af5e20169f4c;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git arm64: dts: Add wifi overlay for m5 Change-Id: I338d01d750a701c64f2af488e6f95cf8adf978d1 --- diff --git a/arch/arm64/boot/dts/amlogic/Makefile b/arch/arm64/boot/dts/amlogic/Makefile index cb549a8b8d3a..f4ea10b101bc 100644 --- a/arch/arm64/boot/dts/amlogic/Makefile +++ b/arch/arm64/boot/dts/amlogic/Makefile @@ -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 diff --git a/arch/arm64/boot/dts/amlogic/sm1_s905y3_bananapim5.dts b/arch/arm64/boot/dts/amlogic/sm1_s905y3_bananapim5.dts index 9787b624ea30..0d26f07883ed 100644 --- a/arch/arm64/boot/dts/amlogic/sm1_s905y3_bananapim5.dts +++ b/arch/arm64/boot/dts/amlogic/sm1_s905y3_bananapim5.dts @@ -243,6 +243,7 @@ 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 index 000000000000..a71df414389f --- /dev/null +++ b/arch/arm64/boot/dts/amlogic/sm1_s905y3_bananapim5_wifi_overlay.dts @@ -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