ARM: dts: rockchip: Add basic support rv1106/3 evb board

Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
Change-Id: I3f53c934dcd0cfb814bcd217c788a0c60319faaf
This commit is contained in:
Sugar Zhang
2022-03-01 14:35:06 +08:00
committed by Tao Huang
parent 549c087dbd
commit 4cfa4a1773
6 changed files with 86 additions and 19 deletions

View File

@@ -3,11 +3,28 @@
* Copyright (c) 2022 Rockchip Electronics Co., Ltd.
*/
/ {
#include "rv1106-evb.dtsi"
/ {
chosen {
bootargs = "earlycon=uart8250,mmio32,0xff4c0000 console=ttyFIQ0 root=/dev/mmcblk0p6 rootfstype=ext4 rootwait snd_soc_core.prealloc_buffer_size_kbytes=16";
};
};
&fiq_debugger {
rockchip,irq-mode-enable = <1>;
&emmc {
bus-width = <4>;
cap-mmc-highspeed;
non-removable;
mmc-hs200-1_8v;
rockchip,default-sample-phase = <90>;
no-sdio;
no-sd;
status = "okay";
};
&i2c4 {
status = "okay";
clock-frequency = <400000>;
pinctrl-names = "default";
pinctrl-0 = <&i2c4m2_xfer>;
};

View File

@@ -11,8 +11,4 @@
/ {
model = "Rockchip RV1103G EVB V10 Board";
compatible = "rockchip,rv1103g-evb-v10", "rockchip,rv1103";
chosen {
bootargs = "earlycon=uart8250,mmio32,0xff4c0000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=ext4 rootwait snd_soc_core.prealloc_buffer_size_kbytes=16";
};
};

View File

@@ -3,15 +3,48 @@
* Copyright (c) 2022 Rockchip Electronics Co., Ltd.
*/
#include "rv1106-evb.dtsi"
/ {
chosen {
bootargs = "earlycon=uart8250,mmio32,0xff4c0000 console=ttyFIQ0 root=/dev/mmcblk0p6 rootfstype=ext4 rootwait snd_soc_core.prealloc_buffer_size_kbytes=16";
};
dsm_sound: dsm-sound {
status = "disabled";
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
simple-audio-card,mclk-fs = <256>;
simple-audio-card,name = "rockchip,dsm-sound";
simple-audio-card,bitclock-master = <&sndcodec>;
simple-audio-card,frame-master = <&sndcodec>;
sndcpu: simple-audio-card,cpu {
sound-dai = <&i2s0_8ch>;
};
sndcodec: simple-audio-card,codec {
sound-dai = <&dsm>;
};
};
};
&fiq_debugger {
rockchip,irq-mode-enable = <1>;
&emmc {
bus-width = <8>;
cap-mmc-highspeed;
non-removable;
mmc-hs200-1_8v;
rockchip,default-sample-phase = <90>;
no-sdio;
no-sd;
status = "okay";
};
&rve {
status = "okay";
&dsm {
status = "disabled";
};
&i2c4 {
status = "okay";
clock-frequency = <400000>;
pinctrl-names = "default";
pinctrl-0 = <&i2c4m2_xfer>;
};

View File

@@ -0,0 +1,29 @@
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
* Copyright (c) 2022 Rockchip Electronics Co., Ltd.
*/
/ {
};
&fiq_debugger {
rockchip,irq-mode-enable = <1>;
status = "okay";
};
&gmac {
status = "okay";
};
&i2s0_8ch {
status = "okay";
};
&rng {
status = "okay";
};
&rve {
status = "okay";
};

View File

@@ -11,8 +11,4 @@
/ {
model = "Rockchip RV1106G EVB1 V10 Board";
compatible = "rockchip,rv1106g-evb1-v10", "rockchip,rv1106";
chosen {
bootargs = "earlycon=uart8250,mmio32,0xff4c0000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=ext4 rootwait snd_soc_core.prealloc_buffer_size_kbytes=16";
};
};

View File

@@ -11,8 +11,4 @@
/ {
model = "Rockchip RV1106G EVB2 V10 Board";
compatible = "rockchip,rv1106g-evb2-v10", "rockchip,rv1106";
chosen {
bootargs = "earlycon=uart8250,mmio32,0xff4c0000 console=ttyFIQ0 root=PARTUUID=614e0000-0000 rootfstype=ext4 rootwait snd_soc_core.prealloc_buffer_size_kbytes=16";
};
};