1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2019 Mohammad Rasim <mohammad.rasim96@gmail.com>
8 #include "meson-gxbb-p20x.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/leds/common.h>
14 compatible = "videostrong,kii-pro", "amlogic,p201", "amlogic,s905", "amlogic,meson-gxbb";
15 model = "Videostrong KII Pro";
18 compatible = "gpio-leds";
20 gpios = <&gpio_ao GPIOAO_13 GPIO_ACTIVE_LOW>;
21 default-state = "off";
22 color = <LED_COLOR_ID_RED>;
23 function = LED_FUNCTION_STATUS;
28 compatible = "gpio-keys-polled";
35 linux,code = <KEY_POWER>;
36 gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>;
46 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
47 pinctrl-names = "default";
51 compatible = "brcm,bcm4335a0";
59 pinctrl-0 = <ð_rmii_pins>;
60 pinctrl-names = "default";
62 phy-handle = <ð_phy0>;
66 compatible = "snps,dwmac-mdio";
70 eth_phy0: ethernet-phy@0 {
71 /* IC Plus IP101GR (0x02430c54) */
73 reset-assert-us = <10000>;
74 reset-deassert-us = <10000>;
75 reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>;
81 linux,rc-map-name = "rc-videostrong-kii-pro";