Commit Graph

30 Commits

Author SHA1 Message Date
Joachim Eastwood 472a5a3ddf ARM: dts: lpc18xx: remove unit addresses from creg childs
DT nodes without reg properties should not have a unit address. This
fixes the following warnings from dtc.

 Warning (unit_address_vs_reg): Node /soc/syscon@40043000/phy@004 has a
 unit name, but no reg property
 Warning (unit_address_vs_reg): Node /soc/syscon@40043000/dma-mux@11c has
 a unit name, but no reg property

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2016-04-04 16:13:31 +02:00
Joachim Eastwood 8c938004f5 ARM: dts: lpc18xx: add dac node
Add node for the 10-bit DAC found on all lpc18xx SoCs.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2016-03-29 21:56:21 +02:00
Joachim Eastwood e162f9c2c6 ARM: dts: lpc18xx: add adc nodes
Add nodes for the two 10-bit ADCs found on all lpc18xx SoCs.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2016-03-29 21:55:59 +02:00
Joachim Eastwood 246fee6cb7 ARM: dts: lpc18xx: add rtc node
Add node for the internal RTC found on all lpc18xx SoCs.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2016-03-29 21:55:44 +02:00
Joachim Eastwood 52d7c42664 ARM: dts: lpc18xx: add creg-clk node
Add node for the creg clock controller and change the input
clock on cgu to use it.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2016-03-29 16:52:34 +02:00
Ariel D'Alessandro 5c36aa6fda ARM: dts: lpc18xx: add EEPROM memory node
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>
2015-12-14 23:12:53 +01:00
Joachim Eastwood 2300830fe7 ARM: dts: lpc18xx: add resets entry to device nodes
Most of the peripherals on LPC18xx/43xx devices have their reset
lines hooked up to internal reset controller (RGU). Add reset
entries to the device nodes so a driver can use the reset line.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-09-30 22:48:58 +02:00
Ariel D'Alessandro b8da65d108 ARM: dts: lpc18xx: add sct pwm node
NXP LPC SoCs family, which includes LPC18xx/LPC43xx, provides a State
Configurable Timer (SCT) which can be configured as a Pulse Width
Modulator.

Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-09-30 22:48:58 +02:00
Ariel D'Alessandro 9c8a5cdcee ARM: dts: lpc18xx: add watchdog node
Add node for the watchdog timer found on LPC18xx/LPC43xx.

Signed-off-by: Ariel D'Alessandro <ariel@vanguardiasur.com.ar>
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-09-30 22:48:57 +02:00
Joachim Eastwood 06713a9432 ARM: dts: lpc18xx: add i2c nodes
Add NXP LPC1778 I2C controller nodes to the dtsi for all
lpc18xx/43xx devices.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-09-30 22:48:57 +02:00
Joachim Eastwood 4e9c5aa8db ARM: dts: lpc18xx: add dma to uart0/1/2/3
Add dmas entries to the four UART peripherals on LPC18xx/43xx devices
so that DMA can be used to transfer data.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-09-30 22:48:51 +02:00
Joachim Eastwood c5288091b0 ARM: dts: lpc18xx: add dma to ssp0/1
Add dmas entries to the two SSP peripherals on LPC18xx/43xx devices
so that DMA can be used to transfer data.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-09-30 22:48:44 +02:00
Joachim Eastwood 5913f5595e ARM: dts: lpc18xx: add dmamux node
Add node for the DMA multiplexer placed in front of the PL080 DMA
controller on lpc18xx/43xx devices.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-09-27 23:16:40 +02:00
Joachim Eastwood 5924007c7e ARM: dts: lpc18xx: add dmac node
Add the ARM PL080 DMA controller node to the dtsi for all
lpc18xx/43xx devices.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-09-27 23:16:32 +02:00
Joachim Eastwood 4f85dd16a5 ARM: dts: lpc18xx: add spifi node
Add the NXP LPC1773 SPIFI (SPI Flash Interface) flash controller
node to the dtsi for all lpc18xx/43xx devices.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-09-27 23:15:43 +02:00
Joachim Eastwood 0745c70260 ARM: dts: lpc18xx: add rgu node
Add the NXP LPC1850 RGU (Reset Generation Unit) reset controller
node to the dtsi for all lpc18xx/43xx devices.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-09-27 23:09:23 +02:00
Joachim Eastwood 50016385c2 ARM: dts: lpc18xx: add pl172 memory-controller node
All devices in the LPC18xx/43xx familiy contain a ARM PL172
MultiPort Memory Controller (MPMC).

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
2015-08-05 19:30:16 +02:00
Joachim Eastwood 9cf6267d16 ARM: dts: lpc18xx: add pl111 lcd controller node
NXP LPC185x and LPC435x/70 devices contain a ARM PL111 lcd controller.

Signed-off-by: Joachim Eastwood <joachim.eastwood@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
2015-08-05 19:30:13 +02:00
Joachim Eastwood 6d6d6b559f ARM: dts: lpc18xx: add usb otg phy node
Add the USB OTG phy under the CREG syscon node and attach it to
the USB0 EHCI controller.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
2015-08-05 19:30:11 +02:00
Joachim Eastwood b06cdb7949 ARM: dts: lpc18xx: add usb nodes
Add nodes for the two USB EHCI controllers found on lpc18xx.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-07-11 23:06:18 +02:00
Joachim Eastwood fe96858928 ARM: dts: lpc18xx: add ethernet node
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-07-11 23:06:07 +02:00
Joachim Eastwood 16df2b868e ARM: dts: lpc18xx: add creg (syscon) node
The CREG block contains a collection of miscellaneous
configuration register like Ethernet phy mode, low
power clocks and DMA multiplexer. These registers
needs to be accessed from other drivers and syscon
provides this capability.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-07-11 23:03:11 +02:00
Joachim Eastwood cd07154f49 ARM: dts: lpc18xx: add mmcsd node
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-07-11 23:03:07 +02:00
Joachim Eastwood 7e6c8376e9 ARM: dts: lpc18xx: add can nodes
Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-07-11 23:03:02 +02:00
Joachim Eastwood 5d2ea79c7f ARM: dts: lpc18xx: add ssp nodes
Add nodes for the ARM SSP controllers on lpc18xx.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-07-11 23:02:30 +02:00
Joachim Eastwood 7836dce471 ARM: dts: lpc18xx: add gpio node
Add gpio and mapping between pinctrl/gpio namespace with
gpio-ranges property.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
2015-07-11 23:01:12 +02:00
Joachim Eastwood d881f5e228 ARM: dts: lpc18xx: add pinctrl node
Add pinctrl node for lpc1850-scu.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
2015-07-11 23:00:31 +02:00
Joachim Eastwood f2b1c507d4 ARM: dts: lpc18xx: add uart new compat string and clk names
Add lpc1850-uart compatible string on uarts together with
proper clock-names.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-07-11 22:59:08 +02:00
Joachim Eastwood ba2db535a9 ARM: dts: lpc18xx: add cgu and ccu clock-controller nodes
Add CGU and CCU clock-controller nodes for lpc18xx together with
the fixed input clocks. Also remove the temporary fixed-factor
pll1 clock from both lpc18xx and lpc4350-hitex-eval DTS now that
proper clock drivers are inplace.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Acked-by: Michael Turquette <mturquette@baylibre.com>
2015-07-11 22:50:52 +02:00
Joachim Eastwood 804a5dd6ed ARM: dts: Add base DT for NXP LPC18xx
NXP LPC18xx/43xx SoCs are very similar devices and should be able to
share a common base (lpc18xx.dtsi). Diffences between the devices are
put in a dtsi which is specific to that device.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2015-05-15 22:28:13 +02:00