lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1540815026-1012-4-git-send-email-manish.narani@xilinx.com>
Date:   Mon, 29 Oct 2018 17:40:26 +0530
From:   Manish Narani <manish.narani@...inx.com>
To:     <jic23@...nel.org>, <knaack.h@....de>, <lars@...afoo.de>,
        <pmeerw@...erw.net>, <robh+dt@...nel.org>, <mark.rutland@....com>,
        <michal.simek@...inx.com>, <manish.narani@...inx.com>,
        <amit.kucheria@...aro.org>, <sudeep.holla@....com>,
        <olof@...om.net>, <broonie@...nel.org>, <arnaud.pouliquen@...com>,
        <eugen.hristev@...rochip.com>, <linus.walleij@...aro.org>,
        <vilhelm.gray@...il.com>, <geert@...ux-m68k.org>,
        <freeman.liu@...eadtrum.com>, <rdunlap@...radead.org>,
        <tglx@...utronix.de>, <baolin.wang@...aro.org>,
        <gregkh@...uxfoundation.org>, <jdelvare@...e.com>,
        <linux@...ck-us.net>
CC:     <linux-iio@...r.kernel.org>, <devicetree@...r.kernel.org>,
        <linux-arm-kernel@...ts.infradead.org>,
        <linux-kernel@...r.kernel.org>, <linux-hwmon@...r.kernel.org>
Subject: [PATCH v3 3/3] arm64: zynqmp: DT: Add Xilinx AMS node

The Xilinx AMS includes an ADC as well as on-chip sensors that can be
used to sample external and monitor on-die operating conditions, such as
temperature and supply voltage levels.

Signed-off-by: Manish Narani <manish.narani@...inx.com>
---
 arch/arm64/boot/dts/xilinx/zynqmp.dtsi | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
index 29ce234..e5facd8 100644
--- a/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
+++ b/arch/arm64/boot/dts/xilinx/zynqmp.dtsi
@@ -617,5 +617,32 @@
 			reg = <0x0 0xfd4d0000 0x0 0x1000>;
 			timeout-sec = <10>;
 		};
+
+		xilinx_ams: ams@...50000 {
+			compatible = "xlnx,zynqmp-ams";
+			status = "disabled";
+			interrupt-parent = <&gic>;
+			interrupts = <0 56 4>;
+			interrupt-names = "ams-irq";
+			reg = <0x0 0xffa50000 0x0 0x800>;
+			reg-names = "ams-base";
+			#address-cells = <1>;
+			#size-cells = <1>;
+			#io-channel-cells = <1>;
+			ranges = <0 0 0xffa50800 0x400
+				  1 0 0xffa50c00 0x400>;
+
+			ams_ps: ams_ps@0,0 {
+				compatible = "xlnx,zynqmp-ams-ps";
+				status = "disabled";
+				reg = <0 0x400>;
+			};
+
+			ams_pl: ams_pl@1,0 {
+				compatible = "xlnx,zynqmp-ams-pl";
+				status = "disabled";
+				reg = <0 0x400>;
+			};
+		};
 	};
 };
-- 
2.1.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ