]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM64: dts: meson-gxl: improve support for the P212 reference design
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sat, 4 Mar 2017 09:52:13 +0000 (10:52 +0100)
committerKevin Hilman <khilman@baylibre.com>
Tue, 14 Mar 2017 21:44:22 +0000 (14:44 -0700)
commit9ded9b0fa8dc3d039ded0f5a0bdc3f82eb4b9259
tree8b21b779834960e6cd5f5951999d82d92978e311
parent6e18675e107251d5b1998cea6c6e1875a8ef2de8
ARM64: dts: meson-gxl: improve support for the P212 reference design

The Amlogic P212 reference design is used by other devices as well, such
as (for example) the Khadas VIM boards. Thus this patch adds and moves
all common entries from meson-gxl-s905x-p212.dts to a new, separate
meson-gxl-s905x-p212.dtsi (which can be re-used on boards such as the
Khadas VIM).
Support for all boards based on the P212 reference design includes:
- enabling IR support
- enabling the SAR ADC (SARADC_CH1 is connected to a resistor which
  indicates the hardware revision, a similar design is found on the
  Khadas VIM boards)
- all MMC controllers (which means that SDIO wifi, the SD card and the
  eMMC are now supported)
- pwm_ef as dependency for the SDIO wifi modules
- uart_A which is connected to the bluetooth module (the bluetooth
  module itself is not enabled yet due to missing devicetree bindings
  for the Broadcom serial bluetooth devices)
- uart_AO is moved to the .dtsi (as all known devices use it as their
  boot-console)

Specific to the P212 board:
- this also enables the CVBS connector (which is not available on the
  Khadas VIM boards for example)
- Realtek based SDIO wifi (instead of Broadcom which most other devices
  use)

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Tested-by: Neil Armstrong <narmstrong@baylibre.com>
Tested-by: Kevin Hilman <khilman@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dts
arch/arm64/boot/dts/amlogic/meson-gxl-s905x-p212.dtsi [new file with mode: 0644]