Commit graph

11 commits

Author SHA1 Message Date
Peter Rosin d8007306f6 ARM: dts: at91: nattis: initialize the BLON pin as output-low early
The pwm-backlight driver initializes BLON (the enable gpio) to
output-high if the gpio is input on probe. Initializing the gpio
to output-low before the driver probes prevents this action by
the pwm-backlight driver and gets rid of a nasty blink of full
backlight with an uninitialized panel.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2018-11-21 12:24:50 +01:00
Peter Rosin 8daa181d91 ARM: dts: at91: nattis: drop three indentation levels
Make use of the recently added &pinctrl and &watchdog labels. This
makes the whole file consistent and knowledge of the ahb/apb structure
is hidden.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2018-09-03 16:15:38 +02:00
Peter Rosin c4f9712407 ARM: dts: at91: nattis: describe the lvds panel
Make the DT usable with the panel-lvds driver.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2018-08-28 12:14:41 +02:00
Peter Rosin 9cb6927680 ARM: dts: at91: nattis: move pinctrls for the lvds chip to the lvds node
The atmel hlcdc controller has nothing to do with these pins, so move
them to where they belong.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2018-08-28 12:14:41 +02:00
Peter Rosin 9a91c0c88a ARM: dts: at91: nattis: state the actual lvds-encoder chip
Just to be explicit.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2018-08-28 12:14:41 +02:00
Peter Rosin f52eb20679 ARM: dts: at91: nattis: make the SD-card slot work
The cd-gpios signal is assumed active-low by the driver, and the
cd-inverted property is needed if it is, in fact, active-high. Fix
this oversight.

Fixes: 0e43238999 ("ARM: dts: at91: add devicetree for the Axentia Nattis with Natte power")
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2018-08-28 12:14:41 +02:00
Peter Rosin 29feb2c960 ARM: dts: at91: nattis: set the PRLUD and HIPOW signals low
AT91_PINCTRL_OUTPUT_VAL(0) without AT91_PINCTRL_OUTPUT is a no-op, so
make sure the pins really output a zero.

Fixes: 0e43238999 ("ARM: dts: at91: add devicetree for the Axentia Nattis with Natte power")
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2018-08-28 12:14:41 +02:00
Peter Rosin 2f8bd78412 ARM: dts: at91: nattis: add lvds-encoder
The lvds encoder chip was omitted by oversight. Add it.

Fixes: 0e43238999 ("ARM: dts: at91: add devicetree for the Axentia Nattis with Natte power")
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2018-02-13 17:15:14 +01:00
Peter Rosin cf438f51c6 ARM: dts: at91: nattis: use up-to-date mtd partitions
The nattis currently relies on the cmdline to correctly configure the
MTD partition table, and the one given in the device tree is simply
ignored. Which is fortunate, since the device tree partition table is
bonkers and does not match reality.

So, in order to avoid confusion, fix the device tree partition table
to match what is expected (i.e. what is normally provided on the cmdline).
In particular, the rootfs partition should be mtd6.

Fixes: 0e43238999 ("ARM: dts: at91: add devicetree for the Axentia Nattis with Natte power")
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2018-02-13 17:15:14 +01:00
Peter Rosin 6b65933008 ARM: dts: at91: nattis: use the correct compatible for the eeprom
The used part does contain an eeprom compatible with an Atmel 24c02
chip and it is from NXP, but it is not called 24c02. It's actually a
se97b chip. Adjust the compatible accordingly.

Fixes: 0e43238999 ("ARM: dts: at91: add devicetree for the Axentia Nattis with Natte power")
Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2018-02-13 17:15:13 +01:00
Peter Rosin 0e43238999 ARM: dts: at91: add devicetree for the Axentia Nattis with Natte power
The Axentia Nattis is a device designed for presenting departures for
public transport systems. The Natte helper board provides power and
features a battery of battery chargers.

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
2017-12-04 20:37:45 +01:00