arm64: zynqmp: 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>
Tue, 28 Nov 2017 15:09:15 +0000 (16:09 +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 e80c74b09263a2a6dbe094a33c93beffb03f6c9a..5d953ebf89931b89181b1b675ed5f2e8a03d0c90 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>;
                        };