]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/boot/dts/href.dtsi
ARM: ux500: use symbolic names for interrupt flags
[karo-tx-linux.git] / arch / arm / boot / dts / href.dtsi
index c0bc426952eacdbd46d3ccab4d0b6b8b656d9194..0485519673c2d43ab0b1d9056a390e97a5351f66 100644 (file)
@@ -9,7 +9,8 @@
  * http://www.gnu.org/copyleft/gpl.html
  */
 
-/include/ "dbx5x0.dtsi"
+#include <dt-bindings/interrupt-controller/irq.h>
+#include "dbx5x0.dtsi"
 
 / {
        memory {
@@ -27,7 +28,7 @@
                };
        };
 
-       soc-u9500 {
+       soc {
                uart@80120000 {
                        status = "okay";
                };
                                compatible = "tc3589x";
                                reg = <0x42>;
                                interrupt-parent = <&gpio6>;
-                               interrupts = <25 0x1>;
+                               interrupts = <25 IRQ_TYPE_EDGE_RISING>;
 
                                interrupt-controller;
                                #interrupt-cells = <2>;
 
                                tc3589x_gpio: tc3589x_gpio {
                                        compatible = "tc3589x-gpio";
-                                       interrupts = <0 0x1>;
+                                       interrupts = <0 IRQ_TYPE_EDGE_RISING>;
 
                                        interrupt-controller;
                                        #interrupt-cells = <2>;
                };
 
                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>;
                // External Micro SD slot
                sdi0_per1@80126000 {
                        arm,primecell-periphid = <0x10480180>;
-                       max-frequency = <50000000>;
+                       max-frequency = <100000000>;
                        bus-width = <4>;
                        mmc-cap-sd-highspeed;
                        mmc-cap-mmc-highspeed;
                // WLAN SDIO channel
                sdi1_per2@80118000 {
                        arm,primecell-periphid = <0x10480180>;
-                       max-frequency = <50000000>;
+                       max-frequency = <100000000>;
                        bus-width = <4>;
 
                        status = "okay";
                // PoP:ed eMMC
                sdi2_per3@80005000 {
                        arm,primecell-periphid = <0x10480180>;
-                       max-frequency = <50000000>;
+                       max-frequency = <100000000>;
                        bus-width = <8>;
                        mmc-cap-mmc-highspeed;
 
                // On-board eMMC
                sdi4_per2@80114000 {
                        arm,primecell-periphid = <0x10480180>;
-                       max-frequency = <50000000>;
+                       max-frequency = <100000000>;
                        bus-width = <8>;
                        mmc-cap-mmc-highspeed;
                        vmmc-supply = <&ab8500_ldo_aux2_reg>;
                                                regulator-name = "V-MMC-SD";
                                        };
 
-                                       ab8500_ldo_initcore_reg: ab8500_ldo_initcore {
+                                       ab8500_ldo_intcore_reg: ab8500_ldo_intcore {
                                                regulator-name = "V-INTCORE";
                                        };