arm: dts: lpc32xx: add device nodes for standard timers
authorVladimir Zapolskiy <vz@mleia.com>
Sat, 17 Oct 2015 21:41:06 +0000 (00:41 +0300)
committerVladimir Zapolskiy <vz@mleia.com>
Wed, 18 Nov 2015 16:01:24 +0000 (18:01 +0200)
NXP LPC32xx SoCs have 6 standard timers, add device nodes to describe
them.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
arch/arm/boot/dts/lpc32xx.dtsi

index a595a4b772d42e8a927aa3dc3091e6c705599488..ba91b203c8c1e9975a3653524492737a79bfafc0 100644 (file)
                                #gpio-cells = <3>; /* bank, pin, flags */
                        };
 
+                       timer4: timer@4002C000 {
+                               compatible = "nxp,lpc3220-timer";
+                               reg = <0x4002C000 0x1000>;
+                               interrupts = <0x3 0>;
+                               status = "disabled";
+                       };
+
+                       timer5: timer@40030000 {
+                               compatible = "nxp,lpc3220-timer";
+                               reg = <0x40030000 0x1000>;
+                               interrupts = <0x4 0>;
+                               status = "disabled";
+                       };
+
                        watchdog: watchdog@4003C000 {
                                compatible = "nxp,pnx4008-wdt";
                                reg = <0x4003C000 0x1000>;
                        };
 
+                       timer0: timer@40044000 {
+                               compatible = "nxp,lpc3220-timer";
+                               reg = <0x40044000 0x1000>;
+                               interrupts = <0x10 0>;
+                       };
+
                        /*
                         * TSC vs. ADC: Since those two share the same
                         * hardware, you need to choose from one of the
                                status = "disabled";
                        };
 
+                       timer1: timer@4004C000 {
+                               compatible = "nxp,lpc3220-timer";
+                               reg = <0x4004C000 0x1000>;
+                               interrupts = <0x11 0>;
+                       };
+
                        key: key@40050000 {
                                compatible = "nxp,lpc3220-key";
                                reg = <0x40050000 0x1000>;
                                status = "disabled";
                        };
 
+                       timer2: timer@40058000 {
+                               compatible = "nxp,lpc3220-timer";
+                               reg = <0x40058000 0x1000>;
+                               interrupts = <0x12 0>;
+                               status = "disabled";
+                       };
+
                        pwm1: pwm@4005C000 {
                                compatible = "nxp,lpc3220-pwm";
                                reg = <0x4005C000 0x4>;
                                reg = <0x4005C004 0x4>;
                                status = "disabled";
                        };
+
+                       timer3: timer@40060000 {
+                               compatible = "nxp,lpc3220-timer";
+                               reg = <0x40060000 0x1000>;
+                               interrupts = <0x13 0>;
+                               status = "disabled";
+                       };
                };
        };
 };