1// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2/* 3 * Copyright (c) 2022 Rockchip Electronics Co., Ltd. 4 */ 5 6/dts-v1/; 7 8#include "rv1106.dtsi" 9#include "rv1106-evb.dtsi" 10#include "rv1106-ipc.dtsi" 11 12/ { 13 model = "Rockchip RV1106G IPC38 V10 SPI NAND Board"; 14 compatible = "rockchip,rv1106g-38x38-ipc-v10-spi-nand", "rockchip,rv1106"; 15 16 vcc3v3_sd: vcc3v3-sd { 17 compatible = "regulator-fixed"; 18 gpio = <&gpio0 RK_PA1 GPIO_ACTIVE_LOW>; 19 regulator-name = "vcc3v3_sd"; 20 regulator-min-microvolt = <3300000>; 21 regulator-max-microvolt = <3300000>; 22 pinctrl-names = "default"; 23 pinctrl-0 = <&sdmmc_pwren>; 24 }; 25 26 vcc3v3_wifi: vcc3v3-wifi { 27 compatible = "regulator-fixed"; 28 regulator-name = "vcc3v3_wifi"; 29 regulator-boot-on; 30 regulator-always-on; 31 regulator-min-microvolt = <3300000>; 32 regulator-max-microvolt = <3300000>; 33 enable-active-low; 34 gpio = <&gpio0 RK_PA3 GPIO_ACTIVE_LOW>; 35 pinctrl-names = "default"; 36 pinctrl-0 = <&wifi_pwren>; 37 }; 38}; 39 40&pinctrl { 41 sdmmc { 42 /omit-if-no-ref/ 43 sdmmc_pwren: sdmmc-pwren { 44 rockchip,pins = <0 RK_PA1 RK_FUNC_GPIO &pcfg_pull_none>; 45 }; 46 }; 47 48 wcc3v3_wifi { 49 /omit-if-no-ref/ 50 wifi_pwren: wifi-pwren { 51 rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_down>; 52 }; 53 }; 54}; 55 56&sdmmc { 57 max-frequency = <50000000>; 58 no-sdio; 59 no-mmc; 60 bus-width = <4>; 61 cap-mmc-highspeed; 62 cap-sd-highspeed; 63 disable-wp; 64 pinctrl-names = "normal", "idle"; 65 pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_det &sdmmc0_bus4>; 66 pinctrl-1 = <&sdmmc0_idle_pins &sdmmc0_det>; 67 vmmc-supply = <&vcc3v3_sd>; 68 status = "okay"; 69}; 70 71&sfc { 72 status = "okay"; 73 74 flash@0 { 75 compatible = "spi-nand"; 76 reg = <0>; 77 spi-max-frequency = <75000000>; 78 spi-rx-bus-width = <4>; 79 spi-tx-bus-width = <1>; 80 }; 81}; 82