ARM: dts: at91: sama5: Add the sfr node
authorWenyou Yang <wenyou.yang@microchip.com>
Tue, 5 Sep 2017 10:30:08 +0000 (18:30 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 14 Sep 2017 20:02:43 +0000 (16:02 -0400)
For sama5d2, add the sfr node with syscon support.

In order to access the SFR_UTMICKTRIM register for the utmi clock
driver, add the phandle property for the utmi node to point to the
sfr node.

Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>
arch/arm/dts/sama5d2.dtsi
arch/arm/dts/sama5d3.dtsi

index d8a65145d673aec07eb83bf58ff6b1e3284ec68e..4233ef8c189f9b9cd77fe852f600a048f7541a41 100644 (file)
                                        compatible = "atmel,at91sam9x5-clk-utmi";
                                        #clock-cells = <0>;
                                        clocks = <&main>;
+                                       regmap-sfr = <&sfr>;
                                        u-boot,dm-pre-reloc;
                                };
 
                                status = "disabled";
                        };
 
+                       sfr: sfr@f8030000 {
+                               compatible = "atmel,sama5d2-sfr", "syscon";
+                               reg = <0xf8030000 0x98>;
+                       };
+
                        sckc@f8048050 {
                                compatible = "atmel,at91sam9x5-sckc";
                                reg = <0xf8048050 0x4>;
index 84ee0892027c845a53ac53209c2a291fcd18bac4..ee0e14e5165bd9407aa34697e896c4173d6adbee 100644 (file)
                                        interrupt-parent = <&pmc>;
                                        interrupts = <AT91_PMC_LOCKU>;
                                        clocks = <&main>;
+                                       regmap-sfr = <&sfr>;
+                                       u-boot,dm-pre-reloc;
                                };
 
                                mck: masterck {