]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
devicetree: Add reset-controller support in serdes driver
authorAnurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com>
Mon, 6 Feb 2017 16:10:34 +0000 (21:40 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 9 Feb 2017 13:11:17 +0000 (14:11 +0100)
This patch add the reset nodes in zynqmp.dtsi which are used by
reset-controller framework

Signed-off-by: Anurag Kumar Vulisha <anuragku@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp.dtsi

index 4c09a48679510fa0d33bf5fc0ff8a421bc3e9165..4c2d6f7387b83dd0d49cb58c26c3b9ce42147280 100644 (file)
                compatible = "xlnx,zynqmp-pcap-fpga";
        };
 
+       rst: reset-controller {
+               compatible = "xlnx,zynqmp-reset";
+               #reset-cells = <1>;
+       };
+
        amba_apu: amba_apu@0 {
                compatible = "simple-bus";
                #address-cells = <2>;
                        reg-names = "serdes", "siou", "fpd", "lpd";
                        nvmem-cells = <&soc_revision>;
                        nvmem-cell-names = "soc_revision";
+                       resets = <&rst 16>, <&rst 59>, <&rst 60>,
+                                <&rst 61>, <&rst 62>, <&rst 63>,
+                                <&rst 64>, <&rst 3>, <&rst 29>,
+                                <&rst 30>, <&rst 31>, <&rst 32>;
+                       reset-names = "sata_rst", "usb0_crst", "usb1_crst",
+                                     "usb0_hibrst", "usb1_hibrst", "usb0_apbrst",
+                                     "usb1_apbrst", "dp_rst", "gem0_rst",
+                                     "gem1_rst", "gem2_rst", "gem3_rst";
                        lane0: lane0 {
                                #phy-cells = <4>;
                        };