From: Jacob Chen Date: Wed, 11 Jan 2017 06:45:57 +0000 (+0800) Subject: ARM: dts: rockchip: add ddr related node for rk3288 X-Git-Tag: firefly_0821_release~765 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=44bba29c0747044e5d34a9eb260e68f98ead150a;p=firefly-linux-kernel-4.4.55.git ARM: dts: rockchip: add ddr related node for rk3288 Add dmc,sram,noc nodes which are used for ddr function Change-Id: I5798f7a2c444adf6940b44fe0cdadca8655e534e Signed-off-by: Jacob Chen --- diff --git a/arch/arm/boot/dts/rk3288.dtsi b/arch/arm/boot/dts/rk3288.dtsi index 6106902c588e..56334c10387b 100644 --- a/arch/arm/boot/dts/rk3288.dtsi +++ b/arch/arm/boot/dts/rk3288.dtsi @@ -680,6 +680,26 @@ status = "disabled"; }; + dmc: dmc@ff610000 { + compatible = "rockchip,rk3288-dmc", "syscon"; + rockchip,cru = <&cru>; + rockchip,grf = <&grf>; + rockchip,pmu = <&pmu>; + rockchip,sgrf = <&sgrf>; + rockchip,noc = <&noc>; + reg = <0xff610000 0x3fc + 0xff620000 0x294 + 0xff630000 0x3fc + 0xff640000 0x294>; + rockchip,sram = <&ddr_sram>; + clocks = <&cru PCLK_DDRUPCTL0>, <&cru PCLK_PUBL0>, + <&cru PCLK_DDRUPCTL1>, <&cru PCLK_PUBL1>, + <&cru ARMCLK>, <&cru ACLK_DMAC1>; + clock-names = "pclk_ddrupctl0", "pclk_publ0", + "pclk_ddrupctl1", "pclk_publ1", + "arm_clk", "aclk_dmac1"; + }; + i2c0: i2c@ff650000 { compatible = "rockchip,rk3288-i2c"; reg = <0xff650000 0x1000>; @@ -760,6 +780,10 @@ compatible = "rockchip,rk3066-smp-sram"; reg = <0x00 0x10>; }; + ddr_sram: ddr-sram@1000 { + compatible = "rockchip,rk3288-ddr-sram"; + reg = <0x1000 0x4000>; + }; }; sram@ff720000 { @@ -1359,6 +1383,11 @@ }; }; + noc: syscon@ffac0000 { + compatible = "rockchip,rk3288-noc", "syscon"; + reg = <0xffac0000 0x2000>; + }; + vpu: video-codec@ff9a0000 { compatible = "rockchip,rk3288-vpu"; reg = <0xff9a0000 0x800>;