summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/href.dtsi
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-05-22 08:09:39 (GMT)
committerLinus Walleij <linus.walleij@linaro.org>2013-05-27 12:07:13 (GMT)
commit2bd7378f9caa380790ce0cddc0b4547bce14ec06 (patch)
tree8abad1fd7deca7d15860812bee515349eca605e9 /arch/arm/boot/dts/href.dtsi
parent28521368582a7a2915360b64391d4cac64e39060 (diff)
downloadlinux-fsl-qoriq-2bd7378f9caa380790ce0cddc0b4547bce14ec06.tar.xz
ARM: ux500: register LP5521 LEDs in the device tree
Based on pending device tree support in the LP55xx drivers we can add the correct LED and channel configuration from the ux500 device tree for all HREF variants. Cc: Bryan Wu <cooloney@gmail.com> Acked-by: Milo Kim <Milo.Kim@ti.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/boot/dts/href.dtsi')
-rw-r--r--arch/arm/boot/dts/href.dtsi38
1 files changed, 32 insertions, 6 deletions
diff --git a/arch/arm/boot/dts/href.dtsi b/arch/arm/boot/dts/href.dtsi
index 62523f6..e315429 100644
--- a/arch/arm/boot/dts/href.dtsi
+++ b/arch/arm/boot/dts/href.dtsi
@@ -63,16 +63,42 @@
};
i2c@80128000 {
- lp5521@0x33 {
- compatible = "lp5521";
+ lp5521@33 {
+ compatible = "national,lp5521";
reg = <0x33>;
+ label = "lp5521_pri";
+ clock-mode = /bits/ 8 <2>;
+ chan0 {
+ led-cur = /bits/ 8 <0x2f>;
+ max-cur = /bits/ 8 <0x5f>;
+ };
+ chan1 {
+ led-cur = /bits/ 8 <0x2f>;
+ max-cur = /bits/ 8 <0x5f>;
+ };
+ chan2 {
+ led-cur = /bits/ 8 <0x2f>;
+ max-cur = /bits/ 8 <0x5f>;
+ };
};
-
- lp5521@0x34 {
- compatible = "lp5521";
+ lp5521@34 {
+ compatible = "national,lp5521";
reg = <0x34>;
+ label = "lp5521_sec";
+ clock-mode = /bits/ 8 <2>;
+ chan0 {
+ led-cur = /bits/ 8 <0x2f>;
+ max-cur = /bits/ 8 <0x5f>;
+ };
+ chan1 {
+ led-cur = /bits/ 8 <0x2f>;
+ max-cur = /bits/ 8 <0x5f>;
+ };
+ chan2 {
+ led-cur = /bits/ 8 <0x2f>;
+ max-cur = /bits/ 8 <0x5f>;
+ };
};
-
bh1780@0x29 {
compatible = "rohm,bh1780gli";
reg = <0x33>;