173 lines
3.6 KiB
Plaintext
173 lines
3.6 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2022 Rockchip Electronics Co., Ltd.
|
|
*
|
|
*/
|
|
|
|
#include "rk3528-linux.dtsi"
|
|
#include "rk3528.dtsi"
|
|
#include "rk3528-evb.dtsi"
|
|
|
|
/ {
|
|
model = "ArmSom RK3528 sige1 Board";
|
|
compatible = "armsom,sige1-v1.0", "rockchip,rk3528";
|
|
|
|
vcc5v0_sys_s0: vcc5v0-sys-s0 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vcc5v0_sys_s0";
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
regulator-min-microvolt = <5000000>;
|
|
regulator-max-microvolt = <5000000>;
|
|
vin-supply = <&vcc5v0_sys>;
|
|
};
|
|
|
|
vcc_1v8_s0: vcc-1v8-s0 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vcc_1v8_s0";
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
regulator-min-microvolt = <1800000>;
|
|
regulator-max-microvolt = <1800000>;
|
|
vin-supply = <&vcc5v0_sys_s0>;
|
|
};
|
|
|
|
vcc_3v3_s0: vcc-3v3-s0 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vcc_3v3";
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
vin-supply = <&vcc5v0_sys_s0>;
|
|
};
|
|
|
|
vdd_0v9_s0: vdd-0v9-s0 {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vdd_0v9_s0";
|
|
regulator-always-on;
|
|
regulator-boot-on;
|
|
regulator-min-microvolt = <900000>;
|
|
regulator-max-microvolt = <900000>;
|
|
vin-supply = <&vcc5v0_sys_s0>;
|
|
};
|
|
|
|
sdio_pwrseq: sdio-pwrseq {
|
|
compatible = "mmc-pwrseq-simple";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&wifi_enable_h &clkm0_32k_out>;
|
|
reset-gpios = <&gpio1 RK_PA6 GPIO_ACTIVE_LOW>;
|
|
};
|
|
|
|
wireless_bluetooth: wireless-bluetooth {
|
|
compatible = "bluetooth-platdata";
|
|
//wifi-bt-power-toggle;
|
|
uart_rts_gpios = <&gpio1 RK_PB2 GPIO_ACTIVE_LOW>;
|
|
pinctrl-names = "default", "rts_gpio";
|
|
pinctrl-0 = <&uart2m1_rtsn>;
|
|
pinctrl-1 = <&uart2m1_rts_gpio>;
|
|
BT,power_gpio = <&gpio1 RK_PC1 GPIO_ACTIVE_HIGH>;
|
|
//BT,reset_gpio = <&gpio3 RK_PC2 GPIO_ACTIVE_HIGH>;
|
|
//BT,wake_host_irq = <&gpio3 RK_PC1 GPIO_ACTIVE_HIGH>;
|
|
status = "okay";
|
|
};
|
|
|
|
wireless_wlan: wireless-wlan {
|
|
compatible = "wlan-platdata";
|
|
rockchip,grf = <&grf>;
|
|
wifi_chip_type = "rtl8852bs";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&wifi_host_wake_irq>;
|
|
WIFI,host_wake_irq = <&gpio1 RK_PA7 GPIO_ACTIVE_HIGH>;
|
|
status = "okay";
|
|
};
|
|
};
|
|
|
|
&pcie2x1 {
|
|
reset-gpios = <&gpio3 RK_PB0 GPIO_ACTIVE_HIGH>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&wifi_perst>;
|
|
rockchip,skip-scan-in-resume;
|
|
status = "okay";
|
|
};
|
|
|
|
&sai0 {
|
|
pinctrl-0 = <&i2s0m0_lrck &i2s0m0_sclk &i2s0m0_sdi &i2s0m0_sdo>;
|
|
status = "disabled";
|
|
};
|
|
|
|
&sdio0 {
|
|
max-frequency = <200000000>;
|
|
no-sd;
|
|
no-mmc;
|
|
supports-sdio;
|
|
bus-width = <4>;
|
|
disable-wp;
|
|
cap-sd-highspeed;
|
|
cap-sdio-irq;
|
|
keep-power-in-suspend;
|
|
non-removable;
|
|
mmc-pwrseq = <&sdio_pwrseq>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&sdio0_bus4 &sdio0_cmd &sdio0_clk>;
|
|
sd-uhs-sdr104;
|
|
status = "okay";
|
|
};
|
|
|
|
&uart2 {
|
|
status = "okay";
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart2m1_xfer &uart2m1_ctsn>;
|
|
};
|
|
|
|
&usbdrd_dwc3 {
|
|
phys = <&u2phy_otg>;
|
|
phy-names = "usb2-phy";
|
|
maximum-speed = "high-speed";
|
|
snps,dis_u2_susphy_quirk;
|
|
snps,usb2-lpm-disable;
|
|
};
|
|
|
|
&pinctrl {
|
|
sdio-pwrseq {
|
|
wifi_enable_h: wifi-enable-h {
|
|
rockchip,pins = <1 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
};
|
|
};
|
|
|
|
wireless-wlan {
|
|
wifi_host_wake_irq: wifi-host-wake-irq {
|
|
rockchip,pins = <1 RK_PA7 RK_FUNC_GPIO &pcfg_pull_down>;
|
|
};
|
|
};
|
|
|
|
wireless-bluetooth {
|
|
uart2m1_rts_gpio: uart2m1-rts-gpio {
|
|
rockchip,pins = <1 RK_PB2 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&acodec {
|
|
pa-ctl-gpios = <&gpio3 RK_PA4 GPIO_ACTIVE_HIGH>;
|
|
status = "okay";
|
|
};
|
|
|
|
&pdm {
|
|
status = "okay";
|
|
pinctrl-0 = <&pdm_clk1
|
|
&pdm_sdi0
|
|
&pdm_sdi2>;
|
|
};
|
|
|
|
&pdmics {
|
|
status = "okay";
|
|
};
|
|
|
|
&pdm_mic_array {
|
|
status = "okay";
|
|
};
|
|
|
|
&sdmmc {
|
|
status = "okay";
|
|
}; |