]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Add support reading SoC revision using nvmem driver in dwc3
authorAnurag Kumar Vulisha <anurag.kumar.vulisha@xilinx.com>
Thu, 2 Mar 2017 09:10:51 +0000 (14:40 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 28 Nov 2017 15:09:15 +0000 (16:09 +0100)
This patch adds support for reading silicon revision using zynqmp nvmem
driver.

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

index 10a53bb9f04998c777afd65bc728ca50540aeaeb..dce5da4e06e5be3000f9e87eb9865d383ffdaadd 100644 (file)
                        iommus = <&smmu 0x860>;
                        power-domains = <&pd_usb0>;
                        ranges;
+                       nvmem-cells = <&soc_revision>;
+                       nvmem-cell-names = "soc_revision";
 
                        dwc3_0: dwc3@fe200000 {
                                compatible = "snps,dwc3";
                        iommus = <&smmu 0x861>;
                        power-domains = <&pd_usb1>;
                        ranges;
+                       nvmem-cells = <&soc_revision>;
+                       nvmem-cell-names = "soc_revision";
 
                        dwc3_1: dwc3@fe300000 {
                                compatible = "snps,dwc3";