2012-04-22 04:01:19 -06:00
|
|
|
/*
|
|
|
|
* NXP LPC32xx SoC
|
|
|
|
*
|
|
|
|
* Copyright 2012 Roland Stigge <stigge@antcom.de>
|
|
|
|
*
|
|
|
|
* The code contained herein is licensed under the GNU General Public
|
|
|
|
* License. You may obtain a copy of the GNU General Public License
|
|
|
|
* Version 2 or later at the following locations:
|
|
|
|
*
|
|
|
|
* http://www.opensource.org/licenses/gpl-license.html
|
|
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
|
|
*/
|
|
|
|
|
2015-10-17 15:35:50 -06:00
|
|
|
#include "skeleton.dtsi"
|
2012-04-22 04:01:19 -06:00
|
|
|
|
2015-11-19 18:05:06 -07:00
|
|
|
#include <dt-bindings/clock/lpc32xx-clock.h>
|
2015-11-19 18:28:40 -07:00
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
2015-11-19 18:05:06 -07:00
|
|
|
|
2012-04-22 04:01:19 -06:00
|
|
|
/ {
|
|
|
|
compatible = "nxp,lpc3220";
|
|
|
|
interrupt-parent = <&mic>;
|
|
|
|
|
|
|
|
cpus {
|
2015-10-17 15:35:52 -06:00
|
|
|
#address-cells = <1>;
|
2013-04-18 11:34:51 -06:00
|
|
|
#size-cells = <0>;
|
|
|
|
|
2015-10-17 15:35:52 -06:00
|
|
|
cpu@0 {
|
2013-04-18 11:34:51 -06:00
|
|
|
compatible = "arm,arm926ej-s";
|
|
|
|
device_type = "cpu";
|
2015-10-17 15:35:52 -06:00
|
|
|
reg = <0x0>;
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2015-11-19 18:05:04 -07:00
|
|
|
clocks {
|
|
|
|
xtal_32k: xtal_32k {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <32768>;
|
|
|
|
clock-output-names = "xtal_32k";
|
|
|
|
};
|
|
|
|
|
|
|
|
xtal: xtal {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <13000000>;
|
|
|
|
clock-output-names = "xtal";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-04-22 04:01:19 -06:00
|
|
|
ahb {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "simple-bus";
|
2016-07-07 16:46:41 -06:00
|
|
|
ranges = <0x00000000 0x00000000 0x10000000>,
|
|
|
|
<0x20000000 0x20000000 0x30000000>,
|
2015-10-17 15:35:55 -06:00
|
|
|
<0xe0000000 0xe0000000 0x04000000>;
|
2012-04-22 04:01:19 -06:00
|
|
|
|
2016-07-07 16:46:41 -06:00
|
|
|
iram: sram@08000000 {
|
|
|
|
compatible = "mmio-sram";
|
|
|
|
reg = <0x08000000 0x20000>;
|
|
|
|
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges = <0x00000000 0x08000000 0x20000>;
|
|
|
|
};
|
|
|
|
|
2012-04-22 04:01:19 -06:00
|
|
|
/*
|
|
|
|
* Enable either SLC or MLC
|
|
|
|
*/
|
|
|
|
slc: flash@20020000 {
|
|
|
|
compatible = "nxp,lpc3220-slc";
|
|
|
|
reg = <0x20020000 0x1000>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_SLC>;
|
2012-06-14 08:16:18 -06:00
|
|
|
status = "disabled";
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
2012-06-14 08:16:17 -06:00
|
|
|
mlc: flash@200a8000 {
|
2012-04-22 04:01:19 -06:00
|
|
|
compatible = "nxp,lpc3220-mlc";
|
2012-06-14 08:16:17 -06:00
|
|
|
reg = <0x200a8000 0x11000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <11 IRQ_TYPE_LEVEL_HIGH>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_MLC>;
|
2012-06-14 08:16:18 -06:00
|
|
|
status = "disabled";
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
2015-10-17 15:35:51 -06:00
|
|
|
dma: dma@31000000 {
|
2012-04-22 04:01:19 -06:00
|
|
|
compatible = "arm,pl080", "arm,primecell";
|
|
|
|
reg = <0x31000000 0x1000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <28 IRQ_TYPE_LEVEL_HIGH>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_DMA>;
|
|
|
|
clock-names = "apb_pclk";
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
2015-10-17 15:35:57 -06:00
|
|
|
usb {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "simple-bus";
|
|
|
|
ranges = <0x0 0x31020000 0x00001000>;
|
2012-04-22 04:01:19 -06:00
|
|
|
|
2015-10-17 15:35:57 -06:00
|
|
|
/*
|
|
|
|
* Enable either ohci or usbd (gadget)!
|
|
|
|
*/
|
|
|
|
ohci: ohci@0 {
|
|
|
|
compatible = "nxp,ohci-nxp", "usb-ohci";
|
|
|
|
reg = <0x0 0x300>;
|
2016-04-25 15:02:23 -06:00
|
|
|
interrupt-parent = <&sic1>;
|
|
|
|
interrupts = <27 IRQ_TYPE_LEVEL_HIGH>;
|
2015-11-19 18:05:07 -07:00
|
|
|
clocks = <&usbclk LPC32XX_USB_CLK_HOST>;
|
2015-10-17 15:35:57 -06:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
usbd: usbd@0 {
|
|
|
|
compatible = "nxp,lpc3220-udc";
|
|
|
|
reg = <0x0 0x300>;
|
2016-04-25 15:02:23 -06:00
|
|
|
interrupt-parent = <&sic1>;
|
|
|
|
interrupts = <29 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<30 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<28 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<26 IRQ_TYPE_LEVEL_LOW>;
|
2015-11-19 18:05:07 -07:00
|
|
|
clocks = <&usbclk LPC32XX_USB_CLK_DEVICE>;
|
2015-10-17 15:35:57 -06:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
i2cusb: i2c@300 {
|
|
|
|
compatible = "nxp,pnx-i2c";
|
|
|
|
reg = <0x300 0x100>;
|
2016-04-25 15:02:23 -06:00
|
|
|
interrupt-parent = <&sic1>;
|
|
|
|
interrupts = <31 IRQ_TYPE_LEVEL_HIGH>;
|
2015-11-19 18:05:07 -07:00
|
|
|
clocks = <&usbclk LPC32XX_USB_CLK_I2C>;
|
2015-10-17 15:35:57 -06:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
pnx,timeout = <0x64>;
|
|
|
|
};
|
2015-11-19 18:05:07 -07:00
|
|
|
|
|
|
|
usbclk: clock-controller@f00 {
|
|
|
|
compatible = "nxp,lpc3220-usb-clk";
|
|
|
|
reg = <0xf00 0x100>;
|
|
|
|
#clock-cells = <1>;
|
|
|
|
};
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
2015-10-17 15:35:51 -06:00
|
|
|
clcd: clcd@31040000 {
|
2012-04-22 04:01:19 -06:00
|
|
|
compatible = "arm,pl110", "arm,primecell";
|
|
|
|
reg = <0x31040000 0x1000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <14 IRQ_TYPE_LEVEL_HIGH>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_LCD>;
|
|
|
|
clock-names = "apb_pclk";
|
2012-06-14 08:16:18 -06:00
|
|
|
status = "disabled";
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
mac: ethernet@31060000 {
|
|
|
|
compatible = "nxp,lpc-eth";
|
|
|
|
reg = <0x31060000 0x1000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <29 IRQ_TYPE_LEVEL_HIGH>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_MAC>;
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
2015-10-17 15:35:55 -06:00
|
|
|
emc: memory-controller@31080000 {
|
|
|
|
compatible = "arm,pl175", "arm,primecell";
|
|
|
|
reg = <0x31080000 0x1000>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_DDRAM>, <&clk LPC32XX_CLK_DDRAM>;
|
|
|
|
clock-names = "mpmcclk", "apb_pclk";
|
2015-10-17 15:35:55 -06:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
ranges = <0 0xe0000000 0x01000000>,
|
|
|
|
<1 0xe1000000 0x01000000>,
|
|
|
|
<2 0xe2000000 0x01000000>,
|
|
|
|
<3 0xe3000000 0x01000000>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2012-04-22 04:01:19 -06:00
|
|
|
apb {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "simple-bus";
|
|
|
|
ranges = <0x20000000 0x20000000 0x30000000>;
|
|
|
|
|
2016-04-20 07:21:00 -06:00
|
|
|
/*
|
|
|
|
* ssp0 and spi1 are shared pins;
|
|
|
|
* enable one in your board dts, as needed.
|
|
|
|
*/
|
2012-04-22 04:01:19 -06:00
|
|
|
ssp0: ssp@20084000 {
|
|
|
|
compatible = "arm,pl022", "arm,primecell";
|
|
|
|
reg = <0x20084000 0x1000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_SSP0>;
|
|
|
|
clock-names = "apb_pclk";
|
2016-04-20 07:21:00 -06:00
|
|
|
status = "disabled";
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
spi1: spi@20088000 {
|
|
|
|
compatible = "nxp,lpc3220-spi";
|
|
|
|
reg = <0x20088000 0x1000>;
|
2016-04-20 07:20:58 -06:00
|
|
|
clocks = <&clk LPC32XX_CLK_SPI1>;
|
2016-04-20 07:21:00 -06:00
|
|
|
status = "disabled";
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
2016-04-20 07:21:00 -06:00
|
|
|
/*
|
|
|
|
* ssp1 and spi2 are shared pins;
|
|
|
|
* enable one in your board dts, as needed.
|
|
|
|
*/
|
2012-04-22 04:01:19 -06:00
|
|
|
ssp1: ssp@2008c000 {
|
|
|
|
compatible = "arm,pl022", "arm,primecell";
|
|
|
|
reg = <0x2008c000 0x1000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <21 IRQ_TYPE_LEVEL_HIGH>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_SSP1>;
|
|
|
|
clock-names = "apb_pclk";
|
2016-04-20 07:21:00 -06:00
|
|
|
status = "disabled";
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
spi2: spi@20090000 {
|
|
|
|
compatible = "nxp,lpc3220-spi";
|
|
|
|
reg = <0x20090000 0x1000>;
|
2016-04-20 07:20:58 -06:00
|
|
|
clocks = <&clk LPC32XX_CLK_SPI2>;
|
2016-04-20 07:21:00 -06:00
|
|
|
status = "disabled";
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s0: i2s@20094000 {
|
|
|
|
compatible = "nxp,lpc3220-i2s";
|
|
|
|
reg = <0x20094000 0x1000>;
|
|
|
|
};
|
|
|
|
|
2015-10-17 15:35:51 -06:00
|
|
|
sd: sd@20098000 {
|
2012-06-14 08:16:18 -06:00
|
|
|
compatible = "arm,pl18x", "arm,primecell";
|
2012-04-22 04:01:19 -06:00
|
|
|
reg = <0x20098000 0x1000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <15 IRQ_TYPE_LEVEL_HIGH>,
|
|
|
|
<13 IRQ_TYPE_LEVEL_HIGH>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_SD>;
|
|
|
|
clock-names = "apb_pclk";
|
2012-06-14 08:16:18 -06:00
|
|
|
status = "disabled";
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
i2s1: i2s@2009C000 {
|
|
|
|
compatible = "nxp,lpc3220-i2s";
|
|
|
|
reg = <0x2009C000 0x1000>;
|
|
|
|
};
|
|
|
|
|
2012-06-14 08:16:18 -06:00
|
|
|
/* UART5 first since it is the default console, ttyS0 */
|
|
|
|
uart5: serial@40090000 {
|
|
|
|
/* actually, ns16550a w/ 64 byte fifos! */
|
|
|
|
compatible = "nxp,lpc3220-uart";
|
|
|
|
reg = <0x40090000 0x1000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <9 IRQ_TYPE_LEVEL_HIGH>;
|
2012-06-14 08:16:18 -06:00
|
|
|
reg-shift = <2>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_UART5>;
|
2012-06-14 08:16:18 -06:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2012-04-22 04:01:19 -06:00
|
|
|
uart3: serial@40080000 {
|
2012-06-14 08:16:18 -06:00
|
|
|
compatible = "nxp,lpc3220-uart";
|
2012-04-22 04:01:19 -06:00
|
|
|
reg = <0x40080000 0x1000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
|
2012-06-14 08:16:18 -06:00
|
|
|
reg-shift = <2>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_UART3>;
|
2012-06-14 08:16:18 -06:00
|
|
|
status = "disabled";
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
uart4: serial@40088000 {
|
2012-06-14 08:16:18 -06:00
|
|
|
compatible = "nxp,lpc3220-uart";
|
2012-04-22 04:01:19 -06:00
|
|
|
reg = <0x40088000 0x1000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <8 IRQ_TYPE_LEVEL_HIGH>;
|
2012-06-14 08:16:18 -06:00
|
|
|
reg-shift = <2>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_UART4>;
|
2012-06-14 08:16:18 -06:00
|
|
|
status = "disabled";
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
uart6: serial@40098000 {
|
2012-06-14 08:16:18 -06:00
|
|
|
compatible = "nxp,lpc3220-uart";
|
2012-04-22 04:01:19 -06:00
|
|
|
reg = <0x40098000 0x1000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <10 IRQ_TYPE_LEVEL_HIGH>;
|
2012-06-14 08:16:18 -06:00
|
|
|
reg-shift = <2>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_UART6>;
|
2012-06-14 08:16:18 -06:00
|
|
|
status = "disabled";
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
i2c1: i2c@400A0000 {
|
|
|
|
compatible = "nxp,pnx-i2c";
|
|
|
|
reg = <0x400A0000 0x100>;
|
2016-04-25 15:02:23 -06:00
|
|
|
interrupt-parent = <&sic1>;
|
|
|
|
interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
|
2012-04-22 04:01:19 -06:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
pnx,timeout = <0x64>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_I2C1>;
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
i2c2: i2c@400A8000 {
|
|
|
|
compatible = "nxp,pnx-i2c";
|
|
|
|
reg = <0x400A8000 0x100>;
|
2016-04-25 15:02:23 -06:00
|
|
|
interrupt-parent = <&sic1>;
|
|
|
|
interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
|
2012-04-22 04:01:19 -06:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
pnx,timeout = <0x64>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_I2C2>;
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
2012-11-14 05:59:45 -07:00
|
|
|
mpwm: mpwm@400E8000 {
|
|
|
|
compatible = "nxp,lpc3220-motor-pwm";
|
|
|
|
reg = <0x400E8000 0x78>;
|
|
|
|
status = "disabled";
|
|
|
|
#pwm-cells = <2>;
|
|
|
|
};
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
fab {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
compatible = "simple-bus";
|
|
|
|
ranges = <0x20000000 0x20000000 0x30000000>;
|
|
|
|
|
2015-11-19 18:05:05 -07:00
|
|
|
/* System Control Block */
|
|
|
|
scb {
|
|
|
|
compatible = "simple-bus";
|
|
|
|
ranges = <0x0 0x040004000 0x00001000>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
|
|
|
|
clk: clock-controller@0 {
|
|
|
|
compatible = "nxp,lpc3220-clk";
|
|
|
|
reg = <0x00 0x114>;
|
|
|
|
#clock-cells = <1>;
|
|
|
|
|
|
|
|
clocks = <&xtal_32k>, <&xtal>;
|
|
|
|
clock-names = "xtal_32k", "xtal";
|
2016-04-17 22:12:00 -06:00
|
|
|
|
|
|
|
assigned-clocks = <&clk LPC32XX_CLK_HCLK_PLL>;
|
|
|
|
assigned-clock-rates = <208000000>;
|
2015-11-19 18:05:05 -07:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2012-04-22 04:01:19 -06:00
|
|
|
mic: interrupt-controller@40008000 {
|
|
|
|
compatible = "nxp,lpc3220-mic";
|
2016-04-25 15:02:23 -06:00
|
|
|
reg = <0x40008000 0x4000>;
|
2012-04-22 04:01:19 -06:00
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
};
|
|
|
|
|
2016-04-25 15:02:23 -06:00
|
|
|
sic1: interrupt-controller@4000c000 {
|
|
|
|
compatible = "nxp,lpc3220-sic";
|
|
|
|
reg = <0x4000c000 0x4000>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
|
|
|
|
interrupt-parent = <&mic>;
|
|
|
|
interrupts = <0 IRQ_TYPE_LEVEL_LOW>,
|
|
|
|
<30 IRQ_TYPE_LEVEL_LOW>;
|
|
|
|
};
|
|
|
|
|
|
|
|
sic2: interrupt-controller@40010000 {
|
|
|
|
compatible = "nxp,lpc3220-sic";
|
|
|
|
reg = <0x40010000 0x4000>;
|
|
|
|
interrupt-controller;
|
|
|
|
#interrupt-cells = <2>;
|
|
|
|
|
|
|
|
interrupt-parent = <&mic>;
|
|
|
|
interrupts = <1 IRQ_TYPE_LEVEL_LOW>,
|
|
|
|
<31 IRQ_TYPE_LEVEL_LOW>;
|
|
|
|
};
|
|
|
|
|
2012-04-22 04:01:19 -06:00
|
|
|
uart1: serial@40014000 {
|
2012-06-14 08:16:18 -06:00
|
|
|
compatible = "nxp,lpc3220-hsuart";
|
2012-04-22 04:01:19 -06:00
|
|
|
reg = <0x40014000 0x1000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <26 IRQ_TYPE_LEVEL_HIGH>;
|
2012-06-14 08:16:18 -06:00
|
|
|
status = "disabled";
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
uart2: serial@40018000 {
|
2012-06-14 08:16:18 -06:00
|
|
|
compatible = "nxp,lpc3220-hsuart";
|
2012-04-22 04:01:19 -06:00
|
|
|
reg = <0x40018000 0x1000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <25 IRQ_TYPE_LEVEL_HIGH>;
|
2012-06-14 08:16:18 -06:00
|
|
|
status = "disabled";
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
2012-06-14 08:16:18 -06:00
|
|
|
uart7: serial@4001c000 {
|
|
|
|
compatible = "nxp,lpc3220-hsuart";
|
|
|
|
reg = <0x4001c000 0x1000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <24 IRQ_TYPE_LEVEL_HIGH>;
|
2012-06-14 08:16:18 -06:00
|
|
|
status = "disabled";
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
2015-10-17 15:35:51 -06:00
|
|
|
rtc: rtc@40024000 {
|
2012-04-22 04:01:19 -06:00
|
|
|
compatible = "nxp,lpc3220-rtc";
|
|
|
|
reg = <0x40024000 0x1000>;
|
2016-04-25 15:02:23 -06:00
|
|
|
interrupt-parent = <&sic1>;
|
|
|
|
interrupts = <20 IRQ_TYPE_LEVEL_HIGH>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_RTC>;
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
gpio: gpio@40028000 {
|
|
|
|
compatible = "nxp,lpc3220-gpio";
|
|
|
|
reg = <0x40028000 0x1000>;
|
2012-05-19 04:28:53 -06:00
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <3>; /* bank, pin, flags */
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
2015-10-17 15:41:06 -06:00
|
|
|
timer4: timer@4002C000 {
|
|
|
|
compatible = "nxp,lpc3220-timer";
|
|
|
|
reg = <0x4002C000 0x1000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_TIMER4>;
|
|
|
|
clock-names = "timerclk";
|
2015-10-17 15:41:06 -06:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
timer5: timer@40030000 {
|
|
|
|
compatible = "nxp,lpc3220-timer";
|
|
|
|
reg = <0x40030000 0x1000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_TIMER5>;
|
|
|
|
clock-names = "timerclk";
|
2015-10-17 15:41:06 -06:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2015-10-17 15:35:51 -06:00
|
|
|
watchdog: watchdog@4003C000 {
|
2012-04-22 04:01:19 -06:00
|
|
|
compatible = "nxp,pnx4008-wdt";
|
|
|
|
reg = <0x4003C000 0x1000>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_WDOG>;
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
2015-10-17 15:41:06 -06:00
|
|
|
timer0: timer@40044000 {
|
|
|
|
compatible = "nxp,lpc3220-timer";
|
|
|
|
reg = <0x40044000 0x1000>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_TIMER0>;
|
|
|
|
clock-names = "timerclk";
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
|
2015-10-17 15:41:06 -06:00
|
|
|
};
|
|
|
|
|
2012-04-22 04:01:19 -06:00
|
|
|
/*
|
|
|
|
* TSC vs. ADC: Since those two share the same
|
|
|
|
* hardware, you need to choose from one of the
|
|
|
|
* following two and do 'status = "okay";' for one of
|
|
|
|
* them
|
|
|
|
*/
|
|
|
|
|
2015-10-17 15:35:51 -06:00
|
|
|
adc: adc@40048000 {
|
2012-04-22 04:01:19 -06:00
|
|
|
compatible = "nxp,lpc3220-adc";
|
|
|
|
reg = <0x40048000 0x1000>;
|
2016-04-25 15:02:23 -06:00
|
|
|
interrupt-parent = <&sic1>;
|
|
|
|
interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_ADC>;
|
2012-06-14 08:16:18 -06:00
|
|
|
status = "disabled";
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
2015-10-17 15:35:51 -06:00
|
|
|
tsc: tsc@40048000 {
|
2012-04-22 04:01:19 -06:00
|
|
|
compatible = "nxp,lpc3220-tsc";
|
|
|
|
reg = <0x40048000 0x1000>;
|
2016-04-25 15:02:23 -06:00
|
|
|
interrupt-parent = <&sic1>;
|
|
|
|
interrupts = <7 IRQ_TYPE_LEVEL_HIGH>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_ADC>;
|
2012-06-14 08:16:18 -06:00
|
|
|
status = "disabled";
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
2015-10-17 15:41:06 -06:00
|
|
|
timer1: timer@4004C000 {
|
|
|
|
compatible = "nxp,lpc3220-timer";
|
|
|
|
reg = <0x4004C000 0x1000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <17 IRQ_TYPE_LEVEL_LOW>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_TIMER1>;
|
|
|
|
clock-names = "timerclk";
|
2015-10-17 15:41:06 -06:00
|
|
|
};
|
|
|
|
|
2015-10-17 15:35:51 -06:00
|
|
|
key: key@40050000 {
|
2012-04-22 04:01:19 -06:00
|
|
|
compatible = "nxp,lpc3220-key";
|
|
|
|
reg = <0x40050000 0x1000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <54 IRQ_TYPE_LEVEL_HIGH>;
|
2012-06-14 08:16:17 -06:00
|
|
|
status = "disabled";
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
|
2015-10-17 15:41:06 -06:00
|
|
|
timer2: timer@40058000 {
|
|
|
|
compatible = "nxp,lpc3220-timer";
|
|
|
|
reg = <0x40058000 0x1000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <18 IRQ_TYPE_LEVEL_LOW>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_TIMER2>;
|
|
|
|
clock-names = "timerclk";
|
2015-10-17 15:41:06 -06:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2015-10-17 15:35:53 -06:00
|
|
|
pwm1: pwm@4005C000 {
|
2012-07-20 05:33:09 -06:00
|
|
|
compatible = "nxp,lpc3220-pwm";
|
2015-10-17 15:35:53 -06:00
|
|
|
reg = <0x4005C000 0x4>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_PWM1>;
|
2016-09-08 11:47:53 -06:00
|
|
|
assigned-clocks = <&clk LPC32XX_CLK_PWM1>;
|
|
|
|
assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>;
|
2015-10-17 15:35:53 -06:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
pwm2: pwm@4005C004 {
|
|
|
|
compatible = "nxp,lpc3220-pwm";
|
|
|
|
reg = <0x4005C004 0x4>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_PWM2>;
|
2016-09-08 11:47:53 -06:00
|
|
|
assigned-clocks = <&clk LPC32XX_CLK_PWM2>;
|
|
|
|
assigned-clock-parents = <&clk LPC32XX_CLK_PERIPH>;
|
2012-07-20 05:33:09 -06:00
|
|
|
status = "disabled";
|
|
|
|
};
|
2015-10-17 15:41:06 -06:00
|
|
|
|
|
|
|
timer3: timer@40060000 {
|
|
|
|
compatible = "nxp,lpc3220-timer";
|
|
|
|
reg = <0x40060000 0x1000>;
|
2015-11-19 18:28:40 -07:00
|
|
|
interrupts = <19 IRQ_TYPE_LEVEL_LOW>;
|
2015-11-19 18:05:06 -07:00
|
|
|
clocks = <&clk LPC32XX_CLK_TIMER3>;
|
|
|
|
clock-names = "timerclk";
|
2015-10-17 15:41:06 -06:00
|
|
|
status = "disabled";
|
|
|
|
};
|
2012-04-22 04:01:19 -06:00
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|