Commit Graph

19 Commits

Author SHA1 Message Date
Vladimir Zapolskiy
ee65af7f9f ARM: dts: lpc435x: remove address and size cells from gpio-keys-polled nodes
The change removes redundant #address-cells and #size-cells properties from
gpio-keys-polled compatible device nodes found in lpc4357-ea4357-devkit and
lpc4350-hitex-eval board DTS files.

Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
2019-01-26 15:39:16 +02:00
Javier Martinez Canillas
22c75545c4 ARM: dts: lpc18xx: Add generic compatible string for I2C EEPROM
The at24 driver allows to register I2C EEPROM chips using different vendor
and devices, but the I2C subsystem does not take the vendor into account
when matching using the I2C table since it only has device entries.

But when matching using an OF table, both the vendor and device has to be
taken into account so the driver defines only a set of compatible strings
using the "atmel" vendor as a generic fallback for compatible I2C devices.

So add this generic fallback to the device node compatible string to make
the device to match the driver using the OF device ID table.

Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
2017-12-21 16:07:29 +01:00
Joachim Eastwood
0555a6be06 ARM: dts: lpc18xx: remove skeleton.dtsi include and fix unit address warnings
Removale of skeleton.dtsi allows us also to fix the following
warning from the dts compiler:
  Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name

by adding proper unit addresses to the memory nodes.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Acked-by: Rob Herring <robh@kernel.org>
2016-09-06 21:53:16 +02:00
Joachim Eastwood
eeadc20c6a ARM: dts: lpc4357-ea4357: fix unit name warnings from dtc
Fix the following warnings from dtc by either adding or removing
the unit name from the node.

Warning (unit_address_vs_reg): Node /soc/flash-controller@40003000/flash@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /gpio_joystick/button@0 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /gpio_joystick/button@1 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /gpio_joystick/button@2 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /gpio_joystick/button@3 has a unit name, but no reg property
Warning (unit_address_vs_reg): Node /gpio_joystick/button@4 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
31b8f1af5a ARM: dts: lpc4357-ea4357: add dac
Enable the DAC on the EA4357 dev kit.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2016-03-29 21:57:39 +02:00
Joachim Eastwood
5f2d9d18b2 ARM: dts: lpc4357-ea4357: add adc0
Enable adc0 on EA4357 dev kit. This kit has a 22k
potentiometer (R94) connected on ADC0 channel 3.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2016-03-29 21:56:34 +02:00
Joachim Eastwood
a086dfe5bf ARM: dts: lpc4357-ea4357: add mma7455 i2c accelerometer
Add Freescale MMA7455 3-axis I2C accelerometer as found on
Embedded Artists' LPC4357 Developer's Kit to the device tree.

This makes it possible to access the accelerometer through
the API provided by IIO.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-12-14 23:13:05 +01:00
Joachim Eastwood
7eef558768 ARM: dts: lpc4357-ea4357: add i2c0 and devices
Add I2C0 and some of the I2C devices on the EA4357 dev kit.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-09-30 22:49:00 +02:00
Joachim Eastwood
09d039971b ARM: dts: lpc4357-ea4357: add ssp0
The SSP0 can be found on the EA4357 Dev Kit on J15 pin 3-6.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-09-30 22:49:00 +02:00
Joachim Eastwood
f359348b1b ARM: dts: lpc4357-ea4357: add spifi and flash device
The EA4357 dev kit has a Spansion S25FL016K SPI-NOR Flash connected
to the SPIFI perherial.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-09-30 22:48:59 +02:00
Joachim Eastwood
41a0dec916 ARM: dts: lpc4357-ea4357: add mmio-gpio leds
Hook up LEDs on the outputs from the D-type flip-flop found on
the address/data bus.

Note that the LEDx label in the schematics is reversed in regard
to the bits on the data bus. Hence the reverse ordering used here.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
2015-08-05 19:30:24 +02:00
Joachim Eastwood
3c6abb97f3 ARM: dts: lpc4357-ea4357: add emc pins and static memory devices
Setup the emc pins used by external memory devices and add
configuration for the devices found on the EA4357 devkit.

The EA4357 devkit has a NOR Flash attached to chip select 0
and a D-type flip-flop used for LEDs on chip select 2.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
2015-08-05 19:30:20 +02:00
Joachim Eastwood
fd0cb235df ARM: dts: lpc4357-ea4357: add usb0
Enable USB0 on the EA4357 devkit and setup the required USB0
control pins.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
2015-08-05 19:30:18 +02:00
Joachim Eastwood
930a43e2e6 ARM: dts: lpc4357-ea4357: add uart3
Enable UART3 that is routed to the J17 DSUB9 connector on
the EA4357 devkit.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-07-14 15:12:10 +02:00
Joachim Eastwood
7de98f2a98 ARM: dts: lpc4357-ea4357: add ethernet
Enable Ethernet and add pin muxing and set the correct
frequency on the enet tx clock input.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-07-14 15:12:10 +02:00
Joachim Eastwood
95dafb2ca1 ARM: dts: lpc4357-ea4357: add gpio joystick
Hook up the small joystick found on the EA4357 devkit.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-07-14 15:12:09 +02:00
Joachim Eastwood
bfd0b498be ARM: dts: lpc4357-ea4357: add mmcsd
Enable the MMC/SD controller on EA4357 devkit and add pin
muxing plus a regulator.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
2015-07-11 23:08:19 +02:00
Joachim Eastwood
c97a63c9de ARM: dts: lpc4357-ea4357: add pinctrl and uart0 muxing
Setup pin muxing and properties for the debug console on uart0.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
2015-07-11 23:06:53 +02:00
Joachim Eastwood
56bd3771e6 ARM: dts: Add DT for Embedded Artists LPC4357 Developers Kit
Adds basic support for Embedded Artists' LPC4357 Developer's Kit. Board
features a LPC4357 Soc, 32 MB SDRAM, 128 MB NAND Flash, 16 MB SPI
Flash, USB and Ethernet.

More information can be found on:
http://www.embeddedartists.com/products/kits/lpc4357_kit.php

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