82 lines
1.7 KiB
Plaintext
82 lines
1.7 KiB
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright (c) 2022 Rockchip Electronics Co., Ltd.
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
#include "rv1106.dtsi"
|
|
#include "rv1106-evb.dtsi"
|
|
#include "rv1106-ipc.dtsi"
|
|
|
|
/ {
|
|
model = "Rockchip RV1106G IPC38 V10 SPI NAND Board";
|
|
compatible = "rockchip,rv1106g-38x38-ipc-v10-spi-nand", "rockchip,rv1106";
|
|
|
|
vcc3v3_sd: vcc3v3-sd {
|
|
compatible = "regulator-fixed";
|
|
gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_LOW>;
|
|
regulator-name = "vcc3v3_sd";
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&sdmmc_pwren>;
|
|
};
|
|
|
|
vcc3v3_wifi: vcc3v3-wifi {
|
|
compatible = "regulator-fixed";
|
|
regulator-name = "vcc3v3_wifi";
|
|
regulator-boot-on;
|
|
regulator-always-on;
|
|
regulator-min-microvolt = <3300000>;
|
|
regulator-max-microvolt = <3300000>;
|
|
enable-active-low;
|
|
gpio = <&gpio0 RK_PA3 GPIO_ACTIVE_LOW>;
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&wifi_pwren>;
|
|
};
|
|
};
|
|
|
|
&pinctrl {
|
|
sdmmc {
|
|
/omit-if-no-ref/
|
|
sdmmc_pwren: sdmmc-pwren {
|
|
rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>;
|
|
};
|
|
};
|
|
|
|
wcc3v3_wifi {
|
|
/omit-if-no-ref/
|
|
wifi_pwren: wifi-pwren {
|
|
rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_down>;
|
|
};
|
|
};
|
|
};
|
|
|
|
&sdmmc {
|
|
max-frequency = <50000000>;
|
|
no-sdio;
|
|
no-mmc;
|
|
bus-width = <4>;
|
|
cap-mmc-highspeed;
|
|
cap-sd-highspeed;
|
|
disable-wp;
|
|
pinctrl-names = "normal", "idle";
|
|
pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_det &sdmmc0_bus4>;
|
|
pinctrl-1 = <&sdmmc0_idle_pins &sdmmc0_det>;
|
|
vmmc-supply = <&vcc3v3_sd>;
|
|
status = "okay";
|
|
};
|
|
|
|
&sfc {
|
|
status = "okay";
|
|
|
|
flash@0 {
|
|
compatible = "spi-nand";
|
|
reg = <0>;
|
|
spi-max-frequency = <75000000>;
|
|
spi-rx-bus-width = <4>;
|
|
spi-tx-bus-width = <1>;
|
|
};
|
|
};
|