[PATCH v1 2/6] ARM: dts: nuvoton: nuvoton-npcm750-runbmc: add jtag and led nodes

Samuel.Jiang at quantatw.com Samuel.Jiang at quantatw.com
Fri Feb 1 19:40:23 AEDT 2019


From: Samuel Jiang <Samuel.Jiang at quantatw.com>

Add leds setting which on RunBMC Module and add jtag node

Signed-off-by: Samuel Jiang <Samuel.Jiang at quantatw.com>
---
 arch/arm/boot/dts/nuvoton-npcm750-runbmc.dts | 40 ++++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/arch/arm/boot/dts/nuvoton-npcm750-runbmc.dts b/arch/arm/boot/dts/nuvoton-npcm750-runbmc.dts
index 7ab03add7f9c..5a56181af25c 100644
--- a/arch/arm/boot/dts/nuvoton-npcm750-runbmc.dts
+++ b/arch/arm/boot/dts/nuvoton-npcm750-runbmc.dts
@@ -329,7 +329,47 @@
 		pinctrl-names = "default";
 
 	};
+	
+	jtag {
+		compatible = "nuvoton,npcm750-jtag";
+		enable_pspi_jtag = <1>;
+		pspi-index = <2>;
+		tck {
+			label = "tck";
+			gpios = <&gpio0 19 0>;
+			regbase = <0xf0010000 0x1000>;
+		};
+
+		tdi {
+			label = "tdi";
+			gpios = <&gpio0 18 0>;
+			regbase = <0xf0010000 0x1000>;
+		};
+
+		tdo {
+			label = "tdo";
+			gpios = <&gpio0 17 0>;
+			regbase = <0xf0010000 0x1000>;
+		};
+
+		tms {
+			label = "tms";
+			gpios = <&gpio0 16 0>;
+			regbase = <0xf0010000 0x1000>;
+		};
+	};
+
+	leds {
+		compatible = "gpio-leds";
+		pinctrl-names = "default";
+		pinctrl-0 = <&gpio110ol_pins>;
 
+		led {
+		label = "led-green-arm";
+			gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
+			linux,default-trigger = "heartbeat";
+		};
+	};
 };
 
 &gcr {
-- 
2.17.1



More information about the openbmc mailing list