1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2022 Rockchip Electronics Co., Ltd. 4 * 5 */ 6 7/dts-v1/; 8 9#include "rk3528.dtsi" 10#include "rk3528-evb.dtsi" 11 12/ { 13 model = "Rockchip RK3528 EVB3 LP4X V10 Board"; 14 compatible = "rockchip,rk3528-evb3-lp4x-v10", "rockchip,rk3528"; 15 16 vcc5v0_sys_s0: vcc5v0-sys-s0 { 17 compatible = "regulator-fixed"; 18 regulator-name = "vcc5v0_sys_s0"; 19 regulator-always-on; 20 regulator-boot-on; 21 regulator-min-microvolt = <5000000>; 22 regulator-max-microvolt = <5000000>; 23 vin-supply = <&vcc5v0_sys>; 24 }; 25 26 vcc_1v8_s0: vcc-1v8-s0 { 27 compatible = "regulator-fixed"; 28 regulator-name = "vcc_1v8_s0"; 29 regulator-always-on; 30 regulator-boot-on; 31 regulator-min-microvolt = <1800000>; 32 regulator-max-microvolt = <1800000>; 33 vin-supply = <&vcc5v0_sys_s0>; 34 }; 35 36 vcc_3v3_s0: vcc-3v3-s0 { 37 compatible = "regulator-fixed"; 38 regulator-name = "vcc_3v3"; 39 regulator-always-on; 40 regulator-boot-on; 41 regulator-min-microvolt = <3300000>; 42 regulator-max-microvolt = <3300000>; 43 vin-supply = <&vcc5v0_sys_s0>; 44 }; 45 46 vdd_0v9_s0: vdd-0v9-s0 { 47 compatible = "regulator-fixed"; 48 regulator-name = "vdd_0v9_s0"; 49 regulator-always-on; 50 regulator-boot-on; 51 regulator-min-microvolt = <900000>; 52 regulator-max-microvolt = <900000>; 53 vin-supply = <&vcc5v0_sys_s0>; 54 }; 55 56 wireless_bluetooth: wireless-bluetooth { 57 compatible = "bluetooth-platdata"; 58 uart_rts_gpios = <&gpio3 RK_PA2 GPIO_ACTIVE_LOW>; 59 pinctrl-names = "default", "rts_gpio"; 60 pinctrl-0 = <&uart2m0_rtsn>; 61 pinctrl-1 = <&uart2m0_gpios>; 62 BT,reset_gpio = <&gpio3 RK_PC2 GPIO_ACTIVE_HIGH>; 63 BT,wake_gpio = <&gpio3 RK_PB4 GPIO_ACTIVE_HIGH>; 64 BT,wake_host_irq = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>; 65 status = "okay"; 66 }; 67 68 wireless_wlan: wireless-wlan { 69 compatible = "wlan-platdata"; 70 rockchip,grf = <&grf>; 71 wifi_chip_type = "ap6275p"; 72 pinctrl-names = "default"; 73 pinctrl-0 = <&wifi_enable &wifi_host_wake_irq &clkm0_32k_out>; 74 WIFI,reset_gpio = <&gpio3 RK_PB2 GPIO_ACTIVE_HIGH>; 75 WIFI,host_wake_irq = <&gpio3 RK_PB3 GPIO_ACTIVE_HIGH>; 76 status = "okay"; 77 }; 78}; 79 80&pcie2x1 { 81 reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>; 82 pinctrl-names = "default"; 83 pinctrl-0 = <&wifi_perst>; 84 rockchip,skip-scan-in-resume; 85 status = "okay"; 86}; 87 88&sai0 { 89 pinctrl-0 = <&i2s0m0_lrck &i2s0m0_sclk &i2s0m0_sdi &i2s0m0_sdo>; 90 status = "disabled"; 91}; 92 93&uart2 { 94 status = "okay"; 95 pinctrl-names = "default"; 96 pinctrl-0 = <&uart2m0_xfer &uart2m0_ctsn>; 97}; 98 99&usbdrd_dwc3 { 100 phys = <&u2phy_otg>; 101 phy-names = "usb2-phy"; 102 maximum-speed = "high-speed"; 103 snps,dis_u2_susphy_quirk; 104 snps,usb2-lpm-disable; 105}; 106 107&pinctrl { 108 wireless-wlan { 109 wifi_perst: wifi-perst { 110 rockchip,pins = <3 RK_PB0 RK_FUNC_GPIO &pcfg_pull_up>; 111 }; 112 113 wifi_enable: wifi-enable { 114 rockchip,pins = <3 RK_PB2 RK_FUNC_GPIO &pcfg_output_high>; 115 }; 116 117 wifi_host_wake_irq: wifi-host-wake-irq { 118 rockchip,pins = <3 RK_PB3 RK_FUNC_GPIO &pcfg_pull_down>; 119 }; 120 }; 121 122 wireless-bluetooth { 123 uart2m0_gpios: uart2m0-gpios { 124 rockchip,pins = <3 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; 125 }; 126 }; 127}; 128 129&acodec { 130 pa-ctl-gpios = <&gpio3 RK_PA4 GPIO_ACTIVE_HIGH>; 131 status = "okay"; 132}; 133