ARM: dts: lpc18xx: add EEPROM memory node
authorAriel D'Alessandro <ariel@vanguardiasur.com.ar>
Tue, 17 Nov 2015 20:02:55 +0000 (17:02 -0300)
committerJoachim Eastwood <manabian@gmail.com>
Mon, 14 Dec 2015 22:12:53 +0000 (23:12 +0100)
Add node for the NXP LPC18xx EEPROM memory which can be found in
NXP LPC185x/3x and LPC435x/3x/2x/1x devices.

Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
arch/arm/boot/dts/lpc18xx.dtsi

index 52591d8..053a1f5 100644 (file)
                        status = "disabled";
                };
 
+               eeprom: eeprom@4000e000 {
+                       compatible = "nxp,lpc1857-eeprom";
+                       reg = <0x4000e000 0x1000>, <0x20040000 0x4000>;
+                       reg-names = "reg", "mem";
+                       clocks = <&ccu1 CLK_CPU_EEPROM>;
+                       clock-names = "eeprom";
+                       resets = <&rgu 27>;
+                       interrupts = <4>;
+                       status = "disabled";
+               };
+
                mac: ethernet@40010000 {
                        compatible = "nxp,lpc1850-dwmac", "snps,dwmac-3.611", "snps,dwmac";
                        reg = <0x40010000 0x2000>;