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 EVB2 DDR3 V10 Board"; 14 compatible = "rockchip,rk3528-evb2-ddr3-v10", "rockchip,rk3528"; 15 16 pcie20_usb30_avdd0v9: pcie20-usb30-avdd0v9 { 17 compatible = "regulator-fixed"; 18 regulator-name = "pcie20_usb30-avdd0v9"; 19 regulator-boot-on; 20 regulator-always-on; 21 regulator-min-microvolt = <900000>; 22 regulator-max-microvolt = <900000>; 23 vin-supply = <&vdd_0v9_s3>; 24 }; 25 26 pcie20_usb30_avdd1v8: pcie20-usb30-avdd1v8 { 27 compatible = "regulator-fixed"; 28 regulator-name = "pcie20_usb30_avdd1v8"; 29 regulator-boot-on; 30 regulator-always-on; 31 regulator-min-microvolt = <1800000>; 32 regulator-max-microvolt = <1800000>; 33 vin-supply = <&vdd_1v8_s3>; 34 }; 35 36 sdio_pwrseq: sdio-pwrseq { 37 compatible = "mmc-pwrseq-simple"; 38 pinctrl-names = "default"; 39 pinctrl-0 = <&wifi_enable_h &clkm1_32k_out>; 40 reset-gpios = <&gpio1 RK_PA6 GPIO_ACTIVE_LOW>; 41 }; 42 43 vcc3v3_pcie20: vcc3v3-pcie20 { 44 compatible = "regulator-fixed"; 45 regulator-name = "vcc3v3_pcie20"; 46 regulator-min-microvolt = <3300000>; 47 regulator-max-microvolt = <3300000>; 48 enable-active-high; 49 gpio = <&gpio4 RK_PB2 GPIO_ACTIVE_HIGH>; 50 startup-delay-us = <5000>; 51 vin-supply = <&dc_12v>; 52 }; 53 54 wireless_bluetooth: wireless-bluetooth { 55 compatible = "bluetooth-platdata"; 56 //wifi-bt-power-toggle; 57 uart_rts_gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_LOW>; 58 pinctrl-names = "default", "rts_gpio"; 59 pinctrl-0 = <&uart2m1_rtsn>; 60 pinctrl-1 = <&uart2m1_gpios>; 61 BT,reset_gpio = <&gpio1 RK_PC1 GPIO_ACTIVE_HIGH>; 62 BT,wake_gpio = <&gpio1 RK_PB4 GPIO_ACTIVE_HIGH>; 63 BT,wake_host_irq = <&gpio1 RK_PC2 GPIO_ACTIVE_HIGH>; 64 status = "okay"; 65 }; 66 67 wireless_wlan: wireless-wlan { 68 compatible = "wlan-platdata"; 69 rockchip,grf = <&grf>; 70 wifi_chip_type = "ap6275s"; 71 pinctrl-names = "default"; 72 pinctrl-0 = <&wifi_host_wake_irq>; 73 WIFI,host_wake_irq = <&gpio1 RK_PA7 GPIO_ACTIVE_HIGH>; 74 status = "okay"; 75 }; 76}; 77 78&pcie2x1 { 79 reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>; 80 vpcie3v3-supply = <&vcc3v3_pcie20>; 81 status = "okay"; 82}; 83 84&sdio0 { 85 max-frequency = <200000000>; 86 no-sd; 87 no-mmc; 88 supports-sdio; 89 bus-width = <4>; 90 disable-wp; 91 cap-sd-highspeed; 92 cap-sdio-irq; 93 keep-power-in-suspend; 94 non-removable; 95 mmc-pwrseq = <&sdio_pwrseq>; 96 pinctrl-names = "default"; 97 pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>; 98 sd-uhs-sdr104; 99 status = "okay"; 100}; 101 102&uart2 { 103 status = "okay"; 104 pinctrl-names = "default"; 105 pinctrl-0 = <&uart2m1_xfer &uart2m1_ctsn>; 106}; 107 108&usbdrd_dwc3 { 109 phys = <&u2phy_otg>; 110 phy-names = "usb2-phy"; 111 maximum-speed = "high-speed"; 112 snps,dis_u2_susphy_quirk; 113 snps,usb2-lpm-disable; 114}; 115 116&pinctrl { 117 sdio-pwrseq { 118 wifi_enable_h: wifi-enable-h { 119 rockchip,pins = <1 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; 120 }; 121 122 wifi_32k: wifi-32k { 123 rockchip,pins = <1 RK_PC3 1 &pcfg_pull_none>; 124 }; 125 }; 126 127 wireless-wlan { 128 wifi_host_wake_irq: wifi-host-wake-irq { 129 rockchip,pins = <1 RK_PA7 RK_FUNC_GPIO &pcfg_pull_down>; 130 }; 131 }; 132 133 wireless-bluetooth { 134 uart2m1_gpios: uart2m1-gpios { 135 rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>; 136 }; 137 }; 138}; 139