summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSakari Ailus <sakari.ailus@linux.intel.com>2017-09-22 11:32:37 +0200
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2017-09-23 21:17:12 +0200
commite626c325277531db15314b80610d1f5a1c2637b2 (patch)
treef07354c897d270cda38e34df2e602f47e49097be /arch
parentdt: bindings: as3645a: Use LED number to refer to LEDs (diff)
downloadlinux-e626c325277531db15314b80610d1f5a1c2637b2.tar.xz
linux-e626c325277531db15314b80610d1f5a1c2637b2.zip
as3645a: Use integer numbers for parsing LEDs
Use integer numbers for LEDs, 0 is the flash and 1 is the indicator. Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/boot/dts/omap3-n950-n9.dtsi8
1 files changed, 6 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/omap3-n950-n9.dtsi b/arch/arm/boot/dts/omap3-n950-n9.dtsi
index b86fc83a5a65..1b0bd72945f2 100644
--- a/arch/arm/boot/dts/omap3-n950-n9.dtsi
+++ b/arch/arm/boot/dts/omap3-n950-n9.dtsi
@@ -267,15 +267,19 @@
clock-frequency = <400000>;
as3645a@30 {
+ #address-cells = <1>;
+ #size-cells = <0>;
reg = <0x30>;
compatible = "ams,as3645a";
- flash {
+ flash@0 {
+ reg = <0x0>;
flash-timeout-us = <150000>;
flash-max-microamp = <320000>;
led-max-microamp = <60000>;
ams,input-max-microamp = <1750000>;
};
- indicator {
+ indicator@1 {
+ reg = <0x1>;
led-max-microamp = <10000>;
};
};