2015-05-11 16:00:50 -06:00
|
|
|
/*
|
|
|
|
* Common base for NXP LPC18xx and LPC43xx devices.
|
|
|
|
*
|
|
|
|
* Copyright 2015 Joachim Eastwood <manabian@gmail.com>
|
|
|
|
*
|
|
|
|
* This code is released using a dual license strategy: BSD/GPL
|
|
|
|
* You can choose the licence that better fits your requirements.
|
|
|
|
*
|
|
|
|
* Released under the terms of 3-clause BSD License
|
|
|
|
* Released under the terms of GNU General Public License Version 2.0
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include "armv7-m.dtsi"
|
|
|
|
|
2015-04-01 06:42:00 -06:00
|
|
|
#include "dt-bindings/clock/lpc18xx-cgu.h"
|
|
|
|
#include "dt-bindings/clock/lpc18xx-ccu.h"
|
|
|
|
|
2015-04-27 15:59:30 -06:00
|
|
|
#define LPC_PIN(port, pin) (0x##port * 32 + pin)
|
|
|
|
#define LPC_GPIO(port, pin) (port * 32 + pin)
|
|
|
|
|
2015-05-11 16:00:50 -06:00
|
|
|
/ {
|
|
|
|
cpus {
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
cpu@0 {
|
|
|
|
compatible = "arm,cortex-m3";
|
|
|
|
device_type = "cpu";
|
|
|
|
reg = <0x0>;
|
2015-04-01 06:42:00 -06:00
|
|
|
clocks = <&ccu1 CLK_CPU_CORE>;
|
2015-05-11 16:00:50 -06:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
clocks {
|
|
|
|
xtal: xtal {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <12000000>;
|
|
|
|
};
|
|
|
|
|
2015-04-01 06:42:00 -06:00
|
|
|
xtal32: xtal32 {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <32768>;
|
|
|
|
};
|
|
|
|
|
|
|
|
enet_rx_clk: enet_rx_clk {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <0>;
|
|
|
|
clock-output-names = "enet_rx_clk";
|
|
|
|
};
|
|
|
|
|
|
|
|
enet_tx_clk: enet_tx_clk {
|
|
|
|
compatible = "fixed-clock";
|
|
|
|
#clock-cells = <0>;
|
|
|
|
clock-frequency = <0>;
|
|
|
|
clock-output-names = "enet_tx_clk";
|
|
|
|
};
|
|
|
|
|
|
|
|
gp_clkin: gp_clkin {
|
|
|
|
compatible = "fixed-clock";
|
2015-05-11 16:00:50 -06:00
|
|
|
#clock-cells = <0>;
|
2015-04-01 06:42:00 -06:00
|
|
|
clock-frequency = <0>;
|
|
|
|
clock-output-names = "gp_clkin";
|
2015-05-11 16:00:50 -06:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
soc {
|
2015-09-17 10:15:37 -06:00
|
|
|
sct_pwm: pwm@40000000 {
|
|
|
|
compatible = "nxp,lpc1850-sct-pwm";
|
|
|
|
reg = <0x40000000 0x1000>;
|
|
|
|
clocks =<&ccu1 CLK_CPU_SCT>;
|
|
|
|
clock-names = "pwm";
|
|
|
|
resets = <&rgu 37>;
|
|
|
|
#pwm-cells = <3>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2015-05-26 12:59:32 -06:00
|
|
|
dmac: dma-controller@40002000 {
|
|
|
|
compatible = "arm,pl080", "arm,primecell";
|
|
|
|
arm,primecell-periphid = <0x00041080>;
|
|
|
|
reg = <0x40002000 0x1000>;
|
|
|
|
interrupts = <2>;
|
|
|
|
clocks = <&ccu1 CLK_CPU_DMA>;
|
|
|
|
clock-names = "apb_pclk";
|
|
|
|
resets = <&rgu 19>;
|
|
|
|
#dma-cells = <2>;
|
|
|
|
dma-channels = <8>;
|
|
|
|
dma-requests = <16>;
|
|
|
|
lli-bus-interface-ahb1;
|
|
|
|
lli-bus-interface-ahb2;
|
|
|
|
mem-bus-interface-ahb1;
|
|
|
|
mem-bus-interface-ahb2;
|
|
|
|
memcpy-burst-size = <256>;
|
|
|
|
memcpy-bus-width = <32>;
|
|
|
|
};
|
|
|
|
|
2015-04-01 22:16:33 -06:00
|
|
|
spifi: flash-controller@40003000 {
|
|
|
|
compatible = "nxp,lpc1773-spifi";
|
|
|
|
reg = <0x40003000 0x1000>, <0x14000000 0x4000000>;
|
|
|
|
reg-names = "spifi", "flash";
|
|
|
|
interrupts = <30>;
|
|
|
|
clocks = <&ccu1 CLK_SPIFI>, <&ccu1 CLK_CPU_SPIFI>;
|
|
|
|
clock-names = "spifi", "reg";
|
|
|
|
resets = <&rgu 53>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2015-04-01 21:27:33 -06:00
|
|
|
mmcsd: mmcsd@40004000 {
|
|
|
|
compatible = "snps,dw-mshc";
|
|
|
|
reg = <0x40004000 0x1000>;
|
|
|
|
interrupts = <6>;
|
|
|
|
num-slots = <1>;
|
|
|
|
clocks = <&ccu2 CLK_SDIO>, <&ccu1 CLK_CPU_SDIO>;
|
|
|
|
clock-names = "ciu", "biu";
|
2015-07-11 03:34:21 -06:00
|
|
|
resets = <&rgu 20>;
|
2015-04-01 21:27:33 -06:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2015-06-20 06:45:12 -06:00
|
|
|
usb0: ehci@40006100 {
|
|
|
|
compatible = "nxp,lpc1850-ehci", "generic-ehci";
|
|
|
|
reg = <0x40006100 0x100>;
|
|
|
|
interrupts = <8>;
|
|
|
|
clocks = <&ccu1 CLK_CPU_USB0>;
|
2015-07-11 03:34:21 -06:00
|
|
|
resets = <&rgu 17>;
|
2015-07-30 16:24:19 -06:00
|
|
|
phys = <&usb0_otg_phy>;
|
|
|
|
phy-names = "usb";
|
2015-06-20 06:45:12 -06:00
|
|
|
has-transaction-translator;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
usb1: ehci@40007100 {
|
|
|
|
compatible = "nxp,lpc1850-ehci", "generic-ehci";
|
|
|
|
reg = <0x40007100 0x100>;
|
|
|
|
interrupts = <9>;
|
|
|
|
clocks = <&ccu1 CLK_CPU_USB1>;
|
2015-07-11 03:34:21 -06:00
|
|
|
resets = <&rgu 18>;
|
2015-06-20 06:45:12 -06:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2015-07-30 16:24:21 -06:00
|
|
|
emc: memory-controller@40005000 {
|
|
|
|
compatible = "arm,pl172", "arm,primecell";
|
|
|
|
reg = <0x40005000 0x1000>;
|
|
|
|
clocks = <&ccu1 CLK_CPU_EMCDIV>, <&ccu1 CLK_CPU_EMC>;
|
|
|
|
clock-names = "mpmcclk", "apb_pclk";
|
2015-07-11 03:34:21 -06:00
|
|
|
resets = <&rgu 21>;
|
2015-07-30 16:24:21 -06:00
|
|
|
#address-cells = <2>;
|
|
|
|
#size-cells = <1>;
|
|
|
|
ranges = <0 0 0x1c000000 0x1000000
|
|
|
|
1 0 0x1d000000 0x1000000
|
|
|
|
2 0 0x1e000000 0x1000000
|
|
|
|
3 0 0x1f000000 0x1000000>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2015-07-30 16:24:20 -06:00
|
|
|
lcdc: lcd-controller@40008000 {
|
|
|
|
compatible = "arm,pl111", "arm,primecell";
|
|
|
|
reg = <0x40008000 0x1000>;
|
|
|
|
interrupts = <7>;
|
|
|
|
interrupt-names = "combined";
|
|
|
|
clocks = <&cgu BASE_LCD_CLK>, <&ccu1 CLK_CPU_LCD>;
|
|
|
|
clock-names = "clcdclk", "apb_pclk";
|
2015-07-11 03:34:21 -06:00
|
|
|
resets = <&rgu 16>;
|
2015-07-30 16:24:20 -06:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2015-04-01 21:29:28 -06:00
|
|
|
mac: ethernet@40010000 {
|
|
|
|
compatible = "nxp,lpc1850-dwmac", "snps,dwmac-3.611", "snps,dwmac";
|
|
|
|
reg = <0x40010000 0x2000>;
|
|
|
|
interrupts = <5>;
|
|
|
|
interrupt-names = "macirq";
|
|
|
|
clocks = <&ccu1 CLK_CPU_ETHERNET>;
|
|
|
|
clock-names = "stmmaceth";
|
2015-07-11 03:34:21 -06:00
|
|
|
resets = <&rgu 22>;
|
|
|
|
reset-names = "stmmaceth";
|
2015-04-01 21:29:28 -06:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2015-04-01 21:31:49 -06:00
|
|
|
creg: syscon@40043000 {
|
|
|
|
compatible = "nxp,lpc1850-creg", "syscon", "simple-mfd";
|
|
|
|
reg = <0x40043000 0x1000>;
|
|
|
|
clocks = <&ccu1 CLK_CPU_CREG>;
|
2015-07-11 03:34:21 -06:00
|
|
|
resets = <&rgu 5>;
|
2015-07-30 16:24:19 -06:00
|
|
|
|
|
|
|
usb0_otg_phy: phy@004 {
|
|
|
|
compatible = "nxp,lpc1850-usb-otg-phy";
|
|
|
|
clocks = <&ccu1 CLK_USB0>;
|
|
|
|
#phy-cells = <0>;
|
|
|
|
};
|
2015-05-26 16:04:20 -06:00
|
|
|
|
|
|
|
dmamux: dma-mux@11c {
|
|
|
|
compatible = "nxp,lpc1850-dmamux";
|
|
|
|
#dma-cells = <3>;
|
|
|
|
dma-requests = <64>;
|
|
|
|
dma-masters = <&dmac>;
|
|
|
|
};
|
2015-04-01 21:31:49 -06:00
|
|
|
};
|
|
|
|
|
2015-04-01 06:42:00 -06:00
|
|
|
cgu: clock-controller@40050000 {
|
|
|
|
compatible = "nxp,lpc1850-cgu";
|
|
|
|
reg = <0x40050000 0x1000>;
|
|
|
|
#clock-cells = <1>;
|
|
|
|
clocks = <&xtal>, <&xtal32>, <&enet_rx_clk>, <&enet_tx_clk>, <&gp_clkin>;
|
|
|
|
};
|
|
|
|
|
|
|
|
ccu1: clock-controller@40051000 {
|
|
|
|
compatible = "nxp,lpc1850-ccu";
|
|
|
|
reg = <0x40051000 0x1000>;
|
|
|
|
#clock-cells = <1>;
|
|
|
|
clocks = <&cgu BASE_APB3_CLK>, <&cgu BASE_APB1_CLK>,
|
|
|
|
<&cgu BASE_SPIFI_CLK>, <&cgu BASE_CPU_CLK>,
|
|
|
|
<&cgu BASE_PERIPH_CLK>, <&cgu BASE_USB0_CLK>,
|
|
|
|
<&cgu BASE_USB1_CLK>, <&cgu BASE_SPI_CLK>;
|
|
|
|
clock-names = "base_apb3_clk", "base_apb1_clk",
|
|
|
|
"base_spifi_clk", "base_cpu_clk",
|
|
|
|
"base_periph_clk", "base_usb0_clk",
|
|
|
|
"base_usb1_clk", "base_spi_clk";
|
|
|
|
};
|
|
|
|
|
|
|
|
ccu2: clock-controller@40052000 {
|
|
|
|
compatible = "nxp,lpc1850-ccu";
|
|
|
|
reg = <0x40052000 0x1000>;
|
|
|
|
#clock-cells = <1>;
|
|
|
|
clocks = <&cgu BASE_AUDIO_CLK>, <&cgu BASE_UART3_CLK>,
|
|
|
|
<&cgu BASE_UART2_CLK>, <&cgu BASE_UART1_CLK>,
|
|
|
|
<&cgu BASE_UART0_CLK>, <&cgu BASE_SSP1_CLK>,
|
|
|
|
<&cgu BASE_SSP0_CLK>, <&cgu BASE_SDIO_CLK>;
|
|
|
|
clock-names = "base_audio_clk", "base_uart3_clk",
|
|
|
|
"base_uart2_clk", "base_uart1_clk",
|
|
|
|
"base_uart0_clk", "base_ssp1_clk",
|
|
|
|
"base_ssp0_clk", "base_sdio_clk";
|
|
|
|
};
|
|
|
|
|
2015-09-27 14:28:38 -06:00
|
|
|
rgu: reset-controller@40053000 {
|
|
|
|
compatible = "nxp,lpc1850-rgu";
|
|
|
|
reg = <0x40053000 0x1000>;
|
|
|
|
clocks = <&cgu BASE_SAFE_CLK>, <&ccu1 CLK_CPU_BUS>;
|
|
|
|
clock-names = "delay", "reg";
|
|
|
|
#reset-cells = <1>;
|
|
|
|
};
|
|
|
|
|
2015-09-17 10:11:41 -06:00
|
|
|
watchdog@40080000 {
|
|
|
|
compatible = "nxp,lpc1850-wwdt";
|
|
|
|
reg = <0x40080000 0x24>;
|
|
|
|
interrupts = <49>;
|
|
|
|
clocks = <&cgu BASE_SAFE_CLK>, <&ccu1 CLK_CPU_WWDT>;
|
|
|
|
clock-names = "wdtclk", "reg";
|
|
|
|
};
|
|
|
|
|
2015-05-11 16:00:50 -06:00
|
|
|
uart0: serial@40081000 {
|
2015-05-15 11:43:45 -06:00
|
|
|
compatible = "nxp,lpc1850-uart", "ns16550a";
|
2015-05-11 16:00:50 -06:00
|
|
|
reg = <0x40081000 0x1000>;
|
|
|
|
reg-shift = <2>;
|
|
|
|
interrupts = <24>;
|
2015-04-01 06:42:00 -06:00
|
|
|
clocks = <&ccu2 CLK_APB0_UART0>, <&ccu1 CLK_CPU_UART0>;
|
2015-05-15 11:43:45 -06:00
|
|
|
clock-names = "uartclk", "reg";
|
2015-07-11 03:34:21 -06:00
|
|
|
resets = <&rgu 44>;
|
2015-09-30 14:35:37 -06:00
|
|
|
dmas = <&dmamux 1 1 2
|
|
|
|
&dmamux 2 1 2
|
|
|
|
&dmamux 11 2 2
|
|
|
|
&dmamux 12 2 2>;
|
|
|
|
dma-names = "tx", "rx", "tx", "rx";
|
2015-05-11 16:00:50 -06:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
uart1: serial@40082000 {
|
2015-05-15 11:43:45 -06:00
|
|
|
compatible = "nxp,lpc1850-uart", "ns16550a";
|
2015-05-11 16:00:50 -06:00
|
|
|
reg = <0x40082000 0x1000>;
|
|
|
|
reg-shift = <2>;
|
|
|
|
interrupts = <25>;
|
2015-04-01 06:42:00 -06:00
|
|
|
clocks = <&ccu2 CLK_APB0_UART1>, <&ccu1 CLK_CPU_UART1>;
|
2015-05-15 11:43:45 -06:00
|
|
|
clock-names = "uartclk", "reg";
|
2015-07-11 03:34:21 -06:00
|
|
|
resets = <&rgu 45>;
|
2015-09-30 14:35:37 -06:00
|
|
|
dmas = <&dmamux 3 1 2
|
|
|
|
&dmamux 4 1 2>;
|
|
|
|
dma-names = "tx", "rx";
|
2015-05-11 16:00:50 -06:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2015-04-01 06:41:06 -06:00
|
|
|
ssp0: spi@40083000 {
|
|
|
|
compatible = "arm,pl022", "arm,primecell";
|
|
|
|
reg = <0x40083000 0x1000>;
|
|
|
|
interrupts = <22>;
|
|
|
|
clocks = <&ccu2 CLK_APB0_SSP0>, <&ccu1 CLK_CPU_SSP0>;
|
|
|
|
clock-names = "sspclk", "apb_pclk";
|
2015-07-11 03:34:21 -06:00
|
|
|
resets = <&rgu 50>;
|
2015-09-30 14:29:29 -06:00
|
|
|
dmas = <&dmamux 9 0 2
|
|
|
|
&dmamux 10 0 2>;
|
|
|
|
dma-names = "rx", "tx";
|
2015-04-01 06:41:06 -06:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2015-05-11 16:00:50 -06:00
|
|
|
timer0: timer@40084000 {
|
|
|
|
compatible = "nxp,lpc3220-timer";
|
|
|
|
reg = <0x40084000 0x1000>;
|
|
|
|
interrupts = <12>;
|
2015-04-01 06:42:00 -06:00
|
|
|
clocks = <&ccu1 CLK_CPU_TIMER0>;
|
2015-05-11 16:00:50 -06:00
|
|
|
clock-names = "timerclk";
|
2015-07-11 03:34:21 -06:00
|
|
|
resets = <&rgu 32>;
|
2015-05-11 16:00:50 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
timer1: timer@40085000 {
|
|
|
|
compatible = "nxp,lpc3220-timer";
|
|
|
|
reg = <0x40085000 0x1000>;
|
|
|
|
interrupts = <13>;
|
2015-04-01 06:42:00 -06:00
|
|
|
clocks = <&ccu1 CLK_CPU_TIMER1>;
|
2015-05-11 16:00:50 -06:00
|
|
|
clock-names = "timerclk";
|
2015-07-11 03:34:21 -06:00
|
|
|
resets = <&rgu 33>;
|
2015-05-11 16:00:50 -06:00
|
|
|
};
|
|
|
|
|
2015-04-01 21:40:13 -06:00
|
|
|
pinctrl: pinctrl@40086000 {
|
|
|
|
compatible = "nxp,lpc1850-scu";
|
|
|
|
reg = <0x40086000 0x1000>;
|
|
|
|
clocks = <&ccu1 CLK_CPU_SCU>;
|
|
|
|
};
|
|
|
|
|
2015-04-01 21:20:45 -06:00
|
|
|
i2c0: i2c@400a1000 {
|
|
|
|
compatible = "nxp,lpc1788-i2c";
|
|
|
|
reg = <0x400a1000 0x1000>;
|
|
|
|
interrupts = <18>;
|
|
|
|
clocks = <&ccu1 CLK_APB1_I2C0>;
|
|
|
|
resets = <&rgu 48>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2015-04-01 21:21:43 -06:00
|
|
|
can1: can@400a4000 {
|
|
|
|
compatible = "bosch,c_can";
|
|
|
|
reg = <0x400a4000 0x1000>;
|
|
|
|
interrupts = <43>;
|
|
|
|
clocks = <&ccu1 CLK_APB1_CAN1>;
|
2015-07-11 03:34:21 -06:00
|
|
|
resets = <&rgu 54>;
|
2015-04-01 21:21:43 -06:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2015-05-11 16:00:50 -06:00
|
|
|
uart2: serial@400c1000 {
|
2015-05-15 11:43:45 -06:00
|
|
|
compatible = "nxp,lpc1850-uart", "ns16550a";
|
2015-05-11 16:00:50 -06:00
|
|
|
reg = <0x400c1000 0x1000>;
|
|
|
|
reg-shift = <2>;
|
|
|
|
interrupts = <26>;
|
2015-04-01 06:42:00 -06:00
|
|
|
clocks = <&ccu2 CLK_APB2_UART2>, <&ccu1 CLK_CPU_UART2>;
|
2015-05-15 11:43:45 -06:00
|
|
|
clock-names = "uartclk", "reg";
|
2015-07-11 03:34:21 -06:00
|
|
|
resets = <&rgu 46>;
|
2015-09-30 14:35:37 -06:00
|
|
|
dmas = <&dmamux 5 1 2
|
|
|
|
&dmamux 6 1 2>;
|
|
|
|
dma-names = "tx", "rx";
|
2015-05-11 16:00:50 -06:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
uart3: serial@400c2000 {
|
2015-05-15 11:43:45 -06:00
|
|
|
compatible = "nxp,lpc1850-uart", "ns16550a";
|
2015-05-11 16:00:50 -06:00
|
|
|
reg = <0x400c2000 0x1000>;
|
|
|
|
reg-shift = <2>;
|
|
|
|
interrupts = <27>;
|
2015-04-01 06:42:00 -06:00
|
|
|
clocks = <&ccu2 CLK_APB2_UART3>, <&ccu1 CLK_CPU_UART3>;
|
2015-05-15 11:43:45 -06:00
|
|
|
clock-names = "uartclk", "reg";
|
2015-07-11 03:34:21 -06:00
|
|
|
resets = <&rgu 47>;
|
2015-09-30 14:35:37 -06:00
|
|
|
dmas = <&dmamux 7 1 2
|
|
|
|
&dmamux 8 1 2
|
|
|
|
&dmamux 13 3 2
|
|
|
|
&dmamux 14 3 2>;
|
|
|
|
dma-names = "tx", "rx", "rx", "tx";
|
2015-05-11 16:00:50 -06:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
|
|
|
timer2: timer@400c3000 {
|
|
|
|
compatible = "nxp,lpc3220-timer";
|
|
|
|
reg = <0x400c3000 0x1000>;
|
|
|
|
interrupts = <14>;
|
2015-04-01 06:42:00 -06:00
|
|
|
clocks = <&ccu1 CLK_CPU_TIMER2>;
|
2015-05-11 16:00:50 -06:00
|
|
|
clock-names = "timerclk";
|
2015-07-11 03:34:21 -06:00
|
|
|
resets = <&rgu 34>;
|
2015-05-11 16:00:50 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
timer3: timer@400c4000 {
|
|
|
|
compatible = "nxp,lpc3220-timer";
|
|
|
|
reg = <0x400c4000 0x1000>;
|
|
|
|
interrupts = <15>;
|
2015-04-01 06:42:00 -06:00
|
|
|
clocks = <&ccu1 CLK_CPU_TIMER3>;
|
2015-05-11 16:00:50 -06:00
|
|
|
clock-names = "timerclk";
|
2015-07-11 03:34:21 -06:00
|
|
|
resets = <&rgu 35>;
|
2015-05-11 16:00:50 -06:00
|
|
|
};
|
2015-04-27 15:59:30 -06:00
|
|
|
|
2015-04-01 06:41:06 -06:00
|
|
|
ssp1: spi@400c5000 {
|
|
|
|
compatible = "arm,pl022", "arm,primecell";
|
|
|
|
reg = <0x400c5000 0x1000>;
|
|
|
|
interrupts = <23>;
|
|
|
|
clocks = <&ccu2 CLK_APB2_SSP1>, <&ccu1 CLK_CPU_SSP1>;
|
|
|
|
clock-names = "sspclk", "apb_pclk";
|
2015-07-11 03:34:21 -06:00
|
|
|
resets = <&rgu 51>;
|
2015-09-30 14:29:29 -06:00
|
|
|
dmas = <&dmamux 11 2 2
|
|
|
|
&dmamux 12 2 2
|
|
|
|
&dmamux 3 3 2
|
|
|
|
&dmamux 4 3 2
|
|
|
|
&dmamux 5 2 2
|
|
|
|
&dmamux 6 2 2
|
|
|
|
&dmamux 13 2 2
|
|
|
|
&dmamux 14 2 2>;
|
|
|
|
dma-names = "rx", "tx", "tx", "rx",
|
|
|
|
"tx", "rx", "rx", "tx";
|
2015-04-01 06:41:06 -06:00
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2015-04-01 21:20:45 -06:00
|
|
|
i2c1: i2c@400e0000 {
|
|
|
|
compatible = "nxp,lpc1788-i2c";
|
|
|
|
reg = <0x400e0000 0x1000>;
|
|
|
|
interrupts = <19>;
|
|
|
|
clocks = <&ccu1 CLK_APB3_I2C1>;
|
|
|
|
resets = <&rgu 49>;
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2015-04-01 21:21:43 -06:00
|
|
|
can0: can@400e2000 {
|
|
|
|
compatible = "bosch,c_can";
|
|
|
|
reg = <0x400e2000 0x1000>;
|
|
|
|
interrupts = <51>;
|
|
|
|
clocks = <&ccu1 CLK_APB3_CAN0>;
|
2015-07-11 03:34:21 -06:00
|
|
|
resets = <&rgu 55>;
|
2015-04-01 21:21:43 -06:00
|
|
|
status = "disabled";
|
|
|
|
};
|
|
|
|
|
2015-04-27 15:59:30 -06:00
|
|
|
gpio: gpio@400f4000 {
|
|
|
|
compatible = "nxp,lpc1850-gpio";
|
|
|
|
reg = <0x400f4000 0x4000>;
|
|
|
|
clocks = <&ccu1 CLK_CPU_GPIO>;
|
|
|
|
gpio-controller;
|
|
|
|
#gpio-cells = <2>;
|
|
|
|
gpio-ranges = <&pinctrl LPC_GPIO(0,0) LPC_PIN(0,0) 2>,
|
|
|
|
<&pinctrl LPC_GPIO(0,4) LPC_PIN(1,0) 1>,
|
|
|
|
<&pinctrl LPC_GPIO(0,8) LPC_PIN(1,1) 4>,
|
|
|
|
<&pinctrl LPC_GPIO(1,8) LPC_PIN(1,5) 2>,
|
|
|
|
<&pinctrl LPC_GPIO(1,0) LPC_PIN(1,7) 8>,
|
|
|
|
<&pinctrl LPC_GPIO(0,2) LPC_PIN(1,15) 2>,
|
|
|
|
<&pinctrl LPC_GPIO(0,12) LPC_PIN(1,17) 2>,
|
|
|
|
<&pinctrl LPC_GPIO(0,15) LPC_PIN(1,20) 1>,
|
|
|
|
<&pinctrl LPC_GPIO(5,0) LPC_PIN(2,0) 7>,
|
|
|
|
<&pinctrl LPC_GPIO(0,7) LPC_PIN(2,7) 1>,
|
|
|
|
<&pinctrl LPC_GPIO(5,7) LPC_PIN(2,8) 1>,
|
|
|
|
<&pinctrl LPC_GPIO(1,10) LPC_PIN(2,9) 1>,
|
|
|
|
<&pinctrl LPC_GPIO(0,14) LPC_PIN(2,10) 1>,
|
|
|
|
<&pinctrl LPC_GPIO(1,11) LPC_PIN(2,11) 3>,
|
|
|
|
<&pinctrl LPC_GPIO(5,8) LPC_PIN(3,1) 2>,
|
|
|
|
<&pinctrl LPC_GPIO(1,14) LPC_PIN(3,4) 2>,
|
|
|
|
<&pinctrl LPC_GPIO(0,6) LPC_PIN(3,6) 1>,
|
|
|
|
<&pinctrl LPC_GPIO(5,10) LPC_PIN(3,7) 2>,
|
|
|
|
<&pinctrl LPC_GPIO(2,0) LPC_PIN(4,0) 7>,
|
|
|
|
<&pinctrl LPC_GPIO(5,12) LPC_PIN(4,8) 3>,
|
|
|
|
<&pinctrl LPC_GPIO(2,9) LPC_PIN(5,0) 7>,
|
|
|
|
<&pinctrl LPC_GPIO(2,7) LPC_PIN(5,7) 1>,
|
|
|
|
<&pinctrl LPC_GPIO(3,0) LPC_PIN(6,1) 5>,
|
|
|
|
<&pinctrl LPC_GPIO(0,5) LPC_PIN(6,6) 1>,
|
|
|
|
<&pinctrl LPC_GPIO(5,15) LPC_PIN(6,7) 2>,
|
|
|
|
<&pinctrl LPC_GPIO(3,5) LPC_PIN(6,9) 3>,
|
|
|
|
<&pinctrl LPC_GPIO(2,8) LPC_PIN(6,12) 1>,
|
|
|
|
<&pinctrl LPC_GPIO(3,8) LPC_PIN(7,0) 8>,
|
|
|
|
<&pinctrl LPC_GPIO(4,0) LPC_PIN(8,0) 8>,
|
|
|
|
<&pinctrl LPC_GPIO(4,12) LPC_PIN(9,0) 4>,
|
|
|
|
<&pinctrl LPC_GPIO(5,17) LPC_PIN(9,4) 2>,
|
|
|
|
<&pinctrl LPC_GPIO(4,11) LPC_PIN(9,6) 1>,
|
|
|
|
<&pinctrl LPC_GPIO(4,8) LPC_PIN(a,1) 3>,
|
|
|
|
<&pinctrl LPC_GPIO(5,19) LPC_PIN(a,4) 1>,
|
|
|
|
<&pinctrl LPC_GPIO(5,20) LPC_PIN(b,0) 7>,
|
|
|
|
<&pinctrl LPC_GPIO(6,0) LPC_PIN(c,1) 14>,
|
|
|
|
<&pinctrl LPC_GPIO(6,14) LPC_PIN(d,0) 17>,
|
|
|
|
<&pinctrl LPC_GPIO(7,0) LPC_PIN(e,0) 16>,
|
|
|
|
<&pinctrl LPC_GPIO(7,16) LPC_PIN(f,1) 3>,
|
|
|
|
<&pinctrl LPC_GPIO(7,19) LPC_PIN(f,5) 7>;
|
|
|
|
};
|
2015-05-11 16:00:50 -06:00
|
|
|
};
|
|
|
|
};
|