arm64: dts: rockchip: move more common nodes to rk3368-android

Also fix io_domains and pmu_io_domains on rk3368-tb.dtsi

Change-Id: I90867a839079f67c68b8588304e06f7566749a3d
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
This commit is contained in:
Huang, Tao
2017-03-02 14:32:33 +08:00
parent 5c15c88c6b
commit 1d0b15cfc8
2 changed files with 66 additions and 51 deletions

View File

@@ -48,6 +48,54 @@
lcdc = &lcdc;
};
chosen {
bootargs = "earlycon=uart8250,mmio32,0xff690000 swiotlb=1";
};
fiq_debugger: fiq-debugger {
compatible = "rockchip,fiq-debugger";
rockchip,serial-id = <2>;
rockchip,signal-irq = <186>;
rockchip,wake-irq = <0>;
rockchip,irq-mode-enable = <1>; /* If enable uart uses irq instead of fiq */
rockchip,baudrate = <115200>; /* Only 115200 and 1500000 */
pinctrl-names = "default";
pinctrl-0 = <&uart2_xfer>;
};
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
/* global autoconfigured region for contiguous allocations */
linux,cma {
compatible = "shared-dma-pool";
reusable;
size = <0x0 0x8000000>;
linux,cma-default;
};
/* reg = <0x0 0x0 0x0 0x0> will be updated by uboot */
rockchip_logo: rockchip-logo@00000000 {
compatible = "rockchip,fb-logo";
reg = <0x0 0x0 0x0 0x0>;
};
};
ion {
compatible = "rockchip,ion";
#address-cells = <1>;
#size-cells = <0>;
cma-heap {
reg = <0x00000000 0x02000000>;
};
system-heap {
};
};
isp: isp@ff910000 {
compatible = "rockchip,rk3368-isp", "rockchip,isp";
reg = <0x0 0xff910000 0x0 0x10000>;

View File

@@ -47,37 +47,6 @@
/ {
compatible = "rockchip,tb", "rockchip,rk3368";
chosen {
bootargs = "console=uart,mmio32,0xff690000";
};
reserved-memory {
#address-cells = <2>;
#size-cells = <2>;
ranges;
/* global autoconfigured region for contiguous allocations */
linux,cma {
compatible = "shared-dma-pool";
reusable;
size = <0x0 0x8000000>;
linux,cma-default;
};
};
ion {
compatible = "rockchip,ion";
#address-cells = <1>;
#size-cells = <0>;
cma-heap {
reg = <0x00000000 0x02000000>;
};
system-heap {
};
};
sound {
compatible = "simple-audio-card";
simple-audio-card,format = "i2s";
@@ -197,26 +166,6 @@
regulator-min-microvolt = <3800000>;
regulator-max-microvolt = <3800000>;
};
io-domains {
compatible = "rockchip,rk3368-io-voltage-domain";
rockchip,grf = <&grf>;
dvp-supply = <&vcc_18>;
audio-supply = <&vcc_io>;
gpio30-supply = <&vcc_io>;
gpio1830-supply = <&vcc_io>;
sdcard-supply = <&vccio_sd>;
wifi-supply = <&vccio_wl>;
};
pmu-io-domains {
compatible = "rockchip,rk3368-pmu-io-voltage-domain";
rockchip,grf = <&pmugrf>;
pmu-supply = <&vcc_io>;
vop-supply = <&vcc_io>;
};
};
&emmc {
@@ -618,6 +567,24 @@
#sound-dai-cells = <0>;
};
&io_domains {
status = "okay";
dvp-supply = <&vcc_18>;
audio-supply = <&vcc_io>;
gpio30-supply = <&vcc_io>;
gpio1830-supply = <&vcc_io>;
sdcard-supply = <&vccio_sd>;
wifi-supply = <&vccio_wl>;
};
&pmu_io_domains {
status = "okay";
pmu-supply = <&vcc_io>;
vop-supply = <&vcc_io>;
};
&pwm0 {
status = "okay";
};