OSDN Git Service

arm64: dts: rockchip: add rockchip,grf property for RK3399 PMUCRU/CRU
authorXing Zheng <zhengxing@rock-chips.com>
Tue, 10 Jan 2017 06:15:29 +0000 (14:15 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 13 Jan 2017 19:03:15 +0000 (20:03 +0100)
The structure rockchip_clk_provider needs to refer the GRF regmap
in somewhere, if the CRU node has not "rockchip,grf" property,
calling syscon_regmap_lookup_by_phandle will return an invalid GRF
regmap, and the MUXGRF type clock will be not supported.

Therefore, we need to add them.

Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399.dtsi

index a28b51c..8e6d1bd 100644 (file)
        pmucru: pmu-clock-controller@ff750000 {
                compatible = "rockchip,rk3399-pmucru";
                reg = <0x0 0xff750000 0x0 0x1000>;
+               rockchip,grf = <&pmugrf>;
                #clock-cells = <1>;
                #reset-cells = <1>;
                assigned-clocks = <&pmucru PLL_PPLL>;
        cru: clock-controller@ff760000 {
                compatible = "rockchip,rk3399-cru";
                reg = <0x0 0xff760000 0x0 0x1000>;
+               rockchip,grf = <&grf>;
                #clock-cells = <1>;
                #reset-cells = <1>;
                assigned-clocks =