// SPDX-License-Identifier: (GPL-2.0+ OR MIT) /* * Copyright (c) 2024 Rockchip Electronics Co., Ltd. */ /dts-v1/; #include "rv1103b.dtsi" #include "rv1103b-evb.dtsi" #include "rv1106b-thunder-boot-cam.dtsi" #include "rv1106b-thunder-boot-spi-nor.dtsi" / { model = "Rockchip RV1103B EVB1 V10 Board"; compatible = "rockchip,rv1103b-evb1-v10-thunderboot-spi-nor", "rockchip,rv1103b"; chosen { bootargs = "loglevel=0 earlycon=uart8250,mmio32,0x20540000 console=ttyFIQ0 root=/dev/rd0 rootfstype=erofs rootflags=dax snd_soc_core.prealloc_buffer_size_kbytes=16 coherent_pool=32K"; }; vcc3v3_sd: vcc3v3-sd { compatible = "regulator-fixed"; gpio = <&gpio0 RK_PA4 GPIO_ACTIVE_LOW>; regulator-name = "vcc3v3_sd"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; pinctrl-names = "default"; pinctrl-0 = <&sdmmc_pwren>; vin-supply = <&vcc_3v3>; }; vccio_sd: vccio-sd { compatible = "regulator-gpio"; regulator-name = "vccio_sd"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <3300000>; gpios = <&gpio0 RK_PA3 GPIO_ACTIVE_HIGH>; states = <3300000 1 1800000 0>; pinctrl-names = "default"; pinctrl-0 = <&sdmmc_volt>; }; }; &fiq_debugger { rockchip,irq-mode-enable = <1>; rockchip,baudrate = <1500000>; status = "okay"; }; &fspi0 { status = "okay"; flash@0 { compatible = "jedec,spi-nor"; reg = <0>; spi-max-frequency = <100000000>; spi-rx-bus-width = <4>; spi-tx-bus-width = <1>; }; }; &i2c4 { clock-frequency = <400000>; pinctrl-names = "default"; pinctrl-0 = <&i2c4m1_xfer_pins>; rockchip,amp-shared; status = "okay"; sc200ai: sc200ai@30 { compatible = "smartsens,sc200ai"; reg = <0x30>; clocks = <&cru CLK_MIPI0_OUT2IO>; clock-names = "xvclk"; pwdn-gpios = <&gpio2 RK_PB0 GPIO_ACTIVE_HIGH>; reset-gpios = <&gpio2 RK_PB3 GPIO_ACTIVE_HIGH>; pinctrl-names = "default"; pinctrl-0 = <&cam_clk0_pins>; rockchip,camera-module-index = <0>; rockchip,camera-module-facing = "back"; rockchip,camera-module-name = "default"; rockchip,camera-module-lens-name = "default"; port { cam0_out: endpoint { remote-endpoint = <&csi_dphy_input0>; data-lanes = <1 2>; }; }; }; }; &sdmmc0 { no-sdio; no-mmc; bus-width = <4>; cap-mmc-highspeed; cap-sd-highspeed; disable-wp; sd-uhs-sdr104; vmmc-supply = <&vcc3v3_sd>; vqmmc-supply = <&vccio_sd>; status = "okay"; }; &pinctrl { sdmmc { /omit-if-no-ref/ sdmmc_pwren: sdmmc-pwren { rockchip,pins = <0 RK_PA4 RK_FUNC_GPIO &pcfg_pull_none>; }; /omit-if-no-ref/ sdmmc_volt: sdmmc-volt { rockchip,pins = <0 RK_PA3 RK_FUNC_GPIO &pcfg_pull_none>; }; }; };