diff options
author | Olof Johansson <olof@lixom.net> | 2020-01-17 02:46:38 +0300 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2020-01-17 02:46:40 +0300 |
commit | 5a74e85ae4baa4aac5b43b4ced0a322d9d400430 (patch) | |
tree | ba80f85ed85d52054990ef8bb002cfdc83ba7b95 /arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts | |
parent | 116a4b85f6fb0482721a1a4fc1eacb97572e48cd (diff) | |
parent | be63807524ddfd4c2e87ffd6cf2de8e7617d4832 (diff) | |
download | linux-5a74e85ae4baa4aac5b43b4ced0a322d9d400430.tar.xz |
Merge tag 'amlogic-dt64' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic into arm/dt
arm64: dts: Amlogic updates for v5.6
- new boards: libretech-pc (S912 and S905D versions)
- new board: Videostrong KII Pro
- A1: add reset controller
* tag 'amlogic-dt64' of https://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-amlogic:
arm64: dts: meson: add audio fifo depths
arm64: dts: meson: add libretech-pc boards support
dt-bindings: arm: amlogic: add libretech-pc bindings
arm64: dts: meson: gxl: add i2c C pins
arm64: dts: meson-sm1: add video decoder compatible
arm64: dts: meson-g12-common: add video decoder node
arm64: dts: meson-gxbb: add support for Videostrong KII Pro
dt-bindings: arm: amlogic: add Videostrong KII Pro bindings
dt-bindings: Add vendor prefix for Videostrong
arm64: dts: meson: a1: add pinctrl controller support
arm64: dts: meson: add reset controller for Meson-A1 SoC
Link: https://lore.kernel.org/r/7hsgkidi3k.fsf@baylibre.com
Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts')
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts | 78 |
1 files changed, 78 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts new file mode 100644 index 000000000000..2f1f829450a2 --- /dev/null +++ b/arch/arm64/boot/dts/amlogic/meson-gxbb-kii-pro.dts @@ -0,0 +1,78 @@ +// SPDX-License-Identifier: (GPL-2.0+ OR MIT) +/* + * Copyright (c) 2019 Mohammad Rasim <mohammad.rasim96@gmail.com> + */ + +/dts-v1/; + +#include "meson-gxbb-p20x.dtsi" + +#include <dt-bindings/gpio/gpio.h> +#include <dt-bindings/input/input.h> +#include <dt-bindings/leds/common.h> +/ { + compatible = "videostrong,kii-pro", "amlogic,p201", "amlogic,s905", "amlogic,meson-gxbb"; + model = "Videostrong KII Pro"; + + leds { + compatible = "gpio-leds"; + status { + gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>; + default-state = "off"; + color = <LED_COLOR_ID_RED>; + function = LED_FUNCTION_STATUS; + }; + }; + + gpio-keys-polled { + compatible = "gpio-keys-polled"; + #address-cells = <1>; + #size-cells = <0>; + poll-interval = <20>; + + button-reset { + label = "reset"; + linux,code = <KEY_POWER>; + gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>; + }; + }; + +}; + + + +&uart_A { + status = "okay"; + pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>; + pinctrl-names = "default"; + uart-has-rtscts; + + bluetooth { + compatible = "brcm,bcm4335a0"; + }; +}; + + + +ðmac { + status = "okay"; + pinctrl-0 = <ð_rmii_pins>; + pinctrl-names = "default"; + + phy-handle = <ð_phy0>; + phy-mode = "rmii"; + + mdio { + compatible = "snps,dwmac-mdio"; + #address-cells = <1>; + #size-cells = <0>; + + eth_phy0: ethernet-phy@0 { + /* IC Plus IP101GR (0x02430c54) */ + reg = <0>; + reset-assert-us = <10000>; + reset-deassert-us = <10000>; + reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>; + }; + }; +}; |