summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2016-01-08 11:43:57 +0100
committerArnd Bergmann <arnd@arndb.de>2016-01-08 11:43:57 +0100
commit3c81e4e60a627afb7ac7b8dc855a88b02d9f0cca (patch)
treea71e3174e3e87a5547d286381f55b22ec426a004 /arch/arm
parent03b9ee45bcebd1ea2811e7c90d13b6b69b0cce9b (diff)
parente9c478a93c113e0ee47f40b80962abe2e2feccc0 (diff)
downloadlinux-3c81e4e60a627afb7ac7b8dc855a88b02d9f0cca.tar.bz2
Merge tag 'meson-for-4.5/dts' of https://github.com/carlocaione/linux-meson into next/dt
Merge "Amlogic DT changes for 4.5" from Carlo Caione: This pull request includes the Amlogic Meson8b DTS changes for v4.5 * tag 'meson-for-4.5/dts' of https://github.com/carlocaione/linux-meson: ARM: dts: meson8b: Add watchdog node Documentation: watchdog: Add new bindings for meson8b ARM: meson: Add status LED for Odroid-C1
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/meson8b-odroidc1.dts11
-rw-r--r--arch/arm/boot/dts/meson8b.dtsi6
2 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/meson8b-odroidc1.dts b/arch/arm/boot/dts/meson8b-odroidc1.dts
index a8e2911b2cbe..e50f1a1fdbc7 100644
--- a/arch/arm/boot/dts/meson8b-odroidc1.dts
+++ b/arch/arm/boot/dts/meson8b-odroidc1.dts
@@ -46,6 +46,7 @@
/dts-v1/;
#include "meson8b.dtsi"
+#include <dt-bindings/gpio/gpio.h>
/ {
model = "Hardkernel ODROID-C1";
@@ -58,6 +59,16 @@
memory {
reg = <0x40000000 0x40000000>;
};
+
+ leds {
+ compatible = "gpio-leds";
+ blue {
+ label = "c1:blue:alive";
+ gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>;
+ linux,default-trigger = "heartbeat";
+ default-state = "off";
+ };
+ };
};
&uart_AO {
diff --git a/arch/arm/boot/dts/meson8b.dtsi b/arch/arm/boot/dts/meson8b.dtsi
index ee352bf687ff..8bad5571af46 100644
--- a/arch/arm/boot/dts/meson8b.dtsi
+++ b/arch/arm/boot/dts/meson8b.dtsi
@@ -105,6 +105,12 @@
#interrupt-cells = <3>;
};
+ wdt: watchdog@c1109900 {
+ compatible = "amlogic,meson8b-wdt";
+ reg = <0xc1109900 0x8>;
+ interrupts = <0 0 1>;
+ };
+
timer@c1109940 {
compatible = "amlogic,meson6-timer";
reg = <0xc1109940 0x18>;