OSDN Git Service

arm64: dts: add syscon for whale2 platform
authorChunyan Zhang <chunyan.zhang@spreadtrum.com>
Thu, 7 Dec 2017 12:57:14 +0000 (20:57 +0800)
committerArnd Bergmann <arnd@arndb.de>
Thu, 4 Jan 2018 16:50:21 +0000 (17:50 +0100)
Some clocks on SC9860 are in the same address area with syscon
devices, the proper syscon node will be quoted under the
definitions of those clocks in DT.

Signed-off-by: Chunyan Zhang <chunyan.zhang@spreadtrum.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm64/boot/dts/sprd/whale2.dtsi

index 7c217c5..6ea3a75 100644 (file)
                #size-cells = <2>;
                ranges;
 
+               ap_ahb_regs: syscon@20210000 {
+                       compatible = "syscon";
+                       reg = <0 0x20210000 0 0x10000>;
+               };
+
+               pmu_regs: syscon@402b0000 {
+                       compatible = "syscon";
+                       reg = <0 0x402b0000 0 0x10000>;
+               };
+
+               aon_regs: syscon@402e0000 {
+                       compatible = "syscon";
+                       reg = <0 0x402e0000 0 0x10000>;
+               };
+
+               ana_regs: syscon@40400000 {
+                       compatible = "syscon";
+                       reg = <0 0x40400000 0 0x10000>;
+               };
+
+               agcp_regs: syscon@415e0000 {
+                       compatible = "syscon";
+                       reg = <0 0x415e0000 0 0x1000000>;
+               };
+
+               vsp_regs: syscon@61100000 {
+                       compatible = "syscon";
+                       reg = <0 0x61100000 0 0x10000>;
+               };
+
+               cam_regs: syscon@62100000 {
+                       compatible = "syscon";
+                       reg = <0 0x62100000 0 0x10000>;
+               };
+
+               disp_regs: syscon@63100000 {
+                       compatible = "syscon";
+                       reg = <0 0x63100000 0 0x10000>;
+               };
+
+               ap_apb_regs: syscon@70b00000 {
+                       compatible = "syscon";
+                       reg = <0 0x70b00000 0 0x40000>;
+               };
+
                ap-apb {
                        compatible = "simple-bus";
                        #address-cells = <1>;
                                status = "disabled";
                        };
                };
-
        };
 
        ext_26m: ext-26m {