1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2016 Andreas Färber
4 * Copyright (c) 2016 BayLibre, Inc.
5 * Author: Kevin Hilman <khilman@kernel.org>
10 #include "meson-gxbb-p20x.dtsi"
11 #include <dt-bindings/input/input.h>
14 compatible = "amlogic,p200", "amlogic,meson-gxbb";
15 model = "Amlogic Meson GXBB P200 Development Board";
17 avdd18_usb_adc: regulator-avdd18_usb_adc {
18 compatible = "regulator-fixed";
19 regulator-name = "AVDD18_USB_ADC";
20 regulator-min-microvolt = <1800000>;
21 regulator-max-microvolt = <1800000>;
25 compatible = "adc-keys";
26 io-channels = <&saradc 0>;
27 io-channel-names = "buttons";
28 keyup-threshold-microvolt = <1800000>;
32 linux,code = <KEY_HOME>;
33 press-threshold-microvolt = <900000>; /* 50% */
38 linux,code = <KEY_ESC>;
39 press-threshold-microvolt = <684000>; /* 38% */
44 linux,code = <KEY_VOLUMEUP>;
45 press-threshold-microvolt = <468000>; /* 26% */
49 label = "Volume Down";
50 linux,code = <KEY_VOLUMEDOWN>;
51 press-threshold-microvolt = <252000>; /* 14% */
56 linux,code = <KEY_MENU>;
57 press-threshold-microvolt = <0>; /* 0% */
64 pinctrl-0 = <ð_rgmii_pins>;
65 pinctrl-names = "default";
66 phy-handle = <ð_phy0>;
69 amlogic,tx-delay-ns = <2>;
72 compatible = "snps,dwmac-mdio";
76 eth_phy0: ethernet-phy@3 {
77 /* Micrel KSZ9031 (0x00221620) */
80 reset-assert-us = <10000>;
81 reset-deassert-us = <30000>;
82 reset-gpios = <&gpio GPIOZ_14 GPIO_ACTIVE_LOW>;
84 interrupt-parent = <&gpio_intc>;
85 /* MAC_INTR on GPIOZ_15 */
86 interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
93 pinctrl-0 = <&i2c_b_pins>;
94 pinctrl-names = "default";
99 vref-supply = <&avdd18_usb_adc>;