1 // SPDX-License-Identifier: (GPL-2.0-only OR B 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 /* 2 /* 3 * Copyright (C) 2024 Ryan Walklin <ryan@testto 3 * Copyright (C) 2024 Ryan Walklin <ryan@testtoast.com>. 4 */ 4 */ 5 5 6 #include "sun50i-h700-anbernic-rg35xx-2024.dts 6 #include "sun50i-h700-anbernic-rg35xx-2024.dts" 7 7 8 / { 8 / { 9 model = "Anbernic RG35XX Plus"; 9 model = "Anbernic RG35XX Plus"; 10 compatible = "anbernic,rg35xx-plus", " 10 compatible = "anbernic,rg35xx-plus", "allwinner,sun50i-h700"; 11 11 12 wifi_pwrseq: pwrseq { 12 wifi_pwrseq: pwrseq { 13 compatible = "mmc-pwrseq-simpl 13 compatible = "mmc-pwrseq-simple"; 14 clocks = <&rtc CLK_OSC32K_FANO 14 clocks = <&rtc CLK_OSC32K_FANOUT>; 15 clock-names = "ext_clock"; 15 clock-names = "ext_clock"; 16 pinctrl-0 = <&x32clk_fanout_pi 16 pinctrl-0 = <&x32clk_fanout_pin>; 17 pinctrl-names = "default"; 17 pinctrl-names = "default"; 18 post-power-on-delay-ms = <200> 18 post-power-on-delay-ms = <200>; 19 reset-gpios = <&pio 6 18 GPIO_ 19 reset-gpios = <&pio 6 18 GPIO_ACTIVE_LOW>; /* PG18 */ 20 }; 20 }; 21 }; 21 }; 22 22 23 /* SDIO WiFi RTL8821CS */ 23 /* SDIO WiFi RTL8821CS */ 24 &mmc1 { 24 &mmc1 { 25 vmmc-supply = <®_cldo4>; 25 vmmc-supply = <®_cldo4>; 26 vqmmc-supply = <®_aldo4>; 26 vqmmc-supply = <®_aldo4>; 27 mmc-pwrseq = <&wifi_pwrseq>; 27 mmc-pwrseq = <&wifi_pwrseq>; 28 bus-width = <4>; 28 bus-width = <4>; 29 non-removable; 29 non-removable; 30 status = "okay"; 30 status = "okay"; 31 31 32 sdio_wifi: wifi@1 { 32 sdio_wifi: wifi@1 { 33 reg = <1>; 33 reg = <1>; 34 interrupt-parent = <&pio>; 34 interrupt-parent = <&pio>; 35 interrupts = <6 15 IRQ_TYPE_LE 35 interrupts = <6 15 IRQ_TYPE_LEVEL_LOW>; /* PG15 */ 36 interrupt-names = "host-wake"; 36 interrupt-names = "host-wake"; 37 }; 37 }; 38 }; 38 }; 39 39 40 /* Bluetooth RTL8821CS */ 40 /* Bluetooth RTL8821CS */ 41 &uart1 { 41 &uart1 { 42 pinctrl-names = "default"; 42 pinctrl-names = "default"; 43 pinctrl-0 = <&uart1_pins>, <&uart1_rts 43 pinctrl-0 = <&uart1_pins>, <&uart1_rts_cts_pins>; 44 uart-has-rtscts; 44 uart-has-rtscts; 45 status = "okay"; 45 status = "okay"; 46 46 47 bluetooth { 47 bluetooth { 48 compatible = "realtek,rtl8821c 48 compatible = "realtek,rtl8821cs-bt", "realtek,rtl8723bs-bt"; 49 device-wake-gpios = <&pio 6 17 49 device-wake-gpios = <&pio 6 17 GPIO_ACTIVE_HIGH>; /* PG17 */ 50 enable-gpios = <&pio 6 19 GPIO 50 enable-gpios = <&pio 6 19 GPIO_ACTIVE_HIGH>; /* PG19 */ 51 host-wake-gpios = <&pio 6 16 G 51 host-wake-gpios = <&pio 6 16 GPIO_ACTIVE_HIGH>; /* PG16 */ 52 }; 52 }; 53 }; 53 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.