xref: /OK3568_Linux_fs/kernel/arch/arm/boot/dts/rv1103-evb-v10.dtsi (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Copyright (c) 2022 Rockchip Electronics Co., Ltd.
4 */
5
6#include "rv1106-evb.dtsi"
7
8/ {
9	chosen {
10		bootargs = "earlycon=uart8250,mmio32,0xff4c0000 console=ttyFIQ0 root=/dev/mmcblk0p5 rootfstype=ext4 rootwait snd_soc_core.prealloc_buffer_size_kbytes=16 coherent_pool=0";
11	};
12
13	acodec_sound: acodec-sound {
14		compatible = "simple-audio-card";
15		simple-audio-card,name = "rv1103-acodec";
16		simple-audio-card,format = "i2s";
17		simple-audio-card,mclk-fs = <256>;
18		simple-audio-card,cpu {
19			sound-dai = <&i2s0_8ch>;
20		};
21		simple-audio-card,codec {
22			sound-dai = <&acodec>;
23		};
24	};
25
26	vdd_arm: vdd-arm {
27		compatible = "pwm-regulator";
28		pwms = <&pwm0 0 5000 1>;
29		regulator-name = "vdd_arm";
30		regulator-min-microvolt = <724000>;
31		regulator-max-microvolt = <1078000>;
32		regulator-init-microvolt = <950000>;
33		regulator-always-on;
34		regulator-boot-on;
35		regulator-settling-time-up-us = <250>;
36	};
37};
38
39&acodec {
40	#sound-dai-cells = <0>;
41	pa-ctl-gpios = <&gpio0 RK_PA4 GPIO_ACTIVE_HIGH>;
42	status = "okay";
43};
44
45&cpu0 {
46	cpu-supply = <&vdd_arm>;
47};
48
49&emmc {
50	bus-width = <4>;
51	cap-mmc-highspeed;
52	non-removable;
53	mmc-hs200-1_8v;
54	rockchip,default-sample-phase = <90>;
55	no-sdio;
56	no-sd;
57	status = "okay";
58};
59
60&i2c4 {
61	status = "okay";
62	clock-frequency = <400000>;
63	pinctrl-names = "default";
64	pinctrl-0 = <&i2c4m2_xfer>;
65};
66
67&i2s0_8ch {
68	#sound-dai-cells = <0>;
69	status = "okay";
70};
71
72&pwm0 {
73	status = "okay";
74};
75
76&sdmmc {
77	max-frequency = <50000000>;
78	no-sdio;
79	no-mmc;
80	bus-width = <4>;
81	cap-mmc-highspeed;
82	cap-sd-highspeed;
83	disable-wp;
84	pinctrl-names = "normal", "idle";
85	pinctrl-0 = <&sdmmc0_clk &sdmmc0_cmd &sdmmc0_det &sdmmc0_bus4>;
86	pinctrl-1 = <&sdmmc0_idle_pins &sdmmc0_det>;
87	status = "okay";
88};
89
90&sfc {
91	status = "okay";
92
93	flash@0 {
94		compatible = "jedec,spi-nor";
95		reg = <0>;
96		spi-max-frequency = <80000000>;
97		spi-rx-bus-width = <4>;
98		spi-tx-bus-width = <1>;
99	};
100};
101