1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2017 Martin Blumenstingl <martin.blumenstingl@googlemail.com>.
8 #include <dt-bindings/input/input.h>
10 #include "meson-gxl-s905x-p212.dtsi"
13 compatible = "khadas,vim", "amlogic,s905x", "amlogic,meson-gxl";
17 compatible = "adc-keys";
18 io-channels = <&saradc 0>;
19 io-channel-names = "buttons";
20 keyup-threshold-microvolt = <1710000>;
24 linux,code = <KEY_FN>;
25 press-threshold-microvolt = <10000>;
34 compatible = "gpio-keys-polled";
37 poll-interval = <100>;
41 linux,code = <KEY_POWER>;
42 gpios = <&gpio_ao GPIOAO_2 GPIO_ACTIVE_LOW>;
47 compatible = "pwm-leds";
50 label = "vim:red:power";
51 pwms = <&pwm_AO_ab 1 7812500 0>;
52 max-brightness = <255>;
53 linux,default-trigger = "default-on";
58 compatible = "hdmi-connector";
62 hdmi_connector_in: endpoint {
63 remote-endpoint = <&hdmi_tx_tmds_out>;
71 pinctrl-0 = <&hdmi_hpd_pins>, <&hdmi_i2c_pins>;
72 pinctrl-names = "default";
76 hdmi_tx_tmds_out: endpoint {
77 remote-endpoint = <&hdmi_connector_in>;
83 pinctrl-0 = <&i2c_a_pins>;
84 pinctrl-names = "default";
89 pinctrl-0 = <&i2c_b_pins>;
90 pinctrl-names = "default";
93 /* has to be enabled manually when a battery is connected: */
95 compatible = "haoyu,hym8563";
98 clock-frequency = <32768>;
99 clock-output-names = "xin32k";
104 linux,rc-map-name = "rc-geekbox";
109 pinctrl-0 = <&pwm_ao_a_3_pins>, <&pwm_ao_b_pins>;
110 pinctrl-names = "default";
111 clocks = <&xtal> , <&xtal>;
112 clock-names = "clkin0", "clkin1" ;
116 pinctrl-0 = <&pwm_e_pins>, <&pwm_f_clk_pins>;
122 compatible = "brcm,bcm4329-fmac";
126 /* This is brought out on the Linux_RX (18) and Linux_TX (19) pins: */
131 /* This is brought out on the UART_RX_AO_B (15) and UART_TX_AO_B (16) pins: */
134 pinctrl-0 = <&uart_ao_b_pins>;
135 pinctrl-names = "default";