summaryrefslogtreecommitdiff
path: root/arch/arm64/boot/dts/intel
diff options
context:
space:
mode:
authorDinh Nguyen <dinguyen@kernel.org>2019-10-18 10:20:26 -0500
committerDinh Nguyen <dinguyen@kernel.org>2019-10-21 22:44:35 -0500
commit05c9c5a99d6111f4842eacdbcad86285ebe05ced (patch)
tree243e1569afa9b7b82350c709c47192c717442b16 /arch/arm64/boot/dts/intel
parent0c33a70b33364b19d0e2c8ce3bcdd6a95629cbf2 (diff)
arm64: agilex: enable USB and LEDs on agilex devkit
Enable USB on the Agilex devkit. Also the Agilex devkit will use the same daughter card that is used on Stratix10, thus it map the same LEDs and GPIOs. pushbutton PB_SW0 = gpio1.io4 pushbutton PB_SW1 = gpio1.io5 LED HPS_LED0 = gpio1.io20 LED HPS_LED1 = gpio1.io19 LED HPS_LED2 = gpio1.io21 Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Diffstat (limited to 'arch/arm64/boot/dts/intel')
-rw-r--r--arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts23
1 files changed, 23 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
index 866205ac7d51..e794a12ba7c5 100644
--- a/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
+++ b/arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dts
@@ -18,6 +18,24 @@
stdout-path = "serial0:115200n8";
};
+ leds {
+ compatible = "gpio-leds";
+ hps0 {
+ label = "hps_led0";
+ gpios = <&portb 20 GPIO_ACTIVE_HIGH>;
+ };
+
+ hps1 {
+ label = "hps_led1";
+ gpios = <&portb 19 GPIO_ACTIVE_HIGH>;
+ };
+
+ hps2 {
+ label = "hps_led2";
+ gpios = <&portb 21 GPIO_ACTIVE_HIGH>;
+ };
+ };
+
memory {
device_type = "memory";
/* We expect the bootloader to fill in the reg */
@@ -70,6 +88,11 @@
status = "okay";
};
+&usb0 {
+ status = "okay";
+ disable-over-current;
+};
+
&watchdog0 {
status = "okay";
};