2 * Copyright (c) 2017 Martin Blumenstingl <martin.blumenstingl@googlemail.com>.
4 * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
9 #include <dt-bindings/input/input.h>
11 #include "meson-gxl-s905x-p212.dtsi"
14 compatible = "khadas,vim", "amlogic,s905x", "amlogic,meson-gxl";
18 compatible = "adc-keys";
19 io-channels = <&saradc 0>;
20 io-channel-names = "buttons";
21 keyup-threshold-microvolt = <1710000>;
25 linux,code = <KEY_FN>;
26 press-threshold-microvolt = <10000>;
35 compatible = "gpio-keys-polled";
38 poll-interval = <100>;
42 linux,code = <KEY_POWER>;
43 gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>;
48 compatible = "pwm-leds";
51 label = "vim:red:power";
52 pwms = <&pwm_AO_ab 1 7812500 0>;
53 max-brightness = <255>;
54 linux,default-trigger = "default-on";
59 compatible = "hdmi-connector";
63 hdmi_connector_in: endpoint {
64 remote-endpoint = <&hdmi_tx_tmds_out>;
72 pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
73 pinctrl-names = "default";
77 hdmi_tx_tmds_out: endpoint {
78 remote-endpoint = <&hdmi_connector_in>;
84 pinctrl-0 = <&i2c_a_pins>;
85 pinctrl-names = "default";
90 pinctrl-0 = <&i2c_b_pins>;
91 pinctrl-names = "default";
94 /* has to be enabled manually when a battery is connected: */
96 compatible = "haoyu,hym8563";
99 clock-frequency = <32768>;
100 clock-output-names = "xin32k";
105 linux,rc-map-name = "rc-geekbox";
110 pinctrl-0 = <&pwm_ao_a_3_pins>, <&pwm_ao_b_pins>;
111 pinctrl-names = "default";
112 clocks = <&xtal> , <&xtal>;
113 clock-names = "clkin0", "clkin1" ;
117 pinctrl-0 = <&pwm_e_pins>, <&pwm_f_clk_pins>;
123 compatible = "brcm,bcm4329-fmac";
127 /* This is brought out on the Linux_RX (18) and Linux_TX (19) pins: */
132 /* This is brought out on the UART_RX_AO_B (15) and UART_TX_AO_B (16) pins: */
135 pinctrl-0 = <&uart_ao_b_pins>;
136 pinctrl-names = "default";