1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2019 BayLibre, SAS
4 * Author: Neil Armstrong <narmstrong@baylibre.com>
5 * Copyright (c) 2019 Christian Hewitt <christianshewitt@gmail.com>
10 #include "meson-g12b-w400.dtsi"
11 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
14 compatible = "azw,gtking", "amlogic,g12b";
15 model = "Beelink GT-King Pro";
23 compatible = "gpio-keys-polled";
26 poll-interval = <100>;
30 linux,code = <KEY_POWER>;
31 gpios = <&gpio_ao GPIOAO_3 GPIO_ACTIVE_HIGH>;
36 compatible = "gpio-leds";
39 label = "power:white";
40 gpios = <&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>;
46 compatible = "amlogic,axg-sound-card";
47 model = "G12B-GTKING-PRO";
48 audio-aux-devs = <&tdmout_b>;
49 audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1",
50 "TDMOUT_B IN 1", "FRDDR_B OUT 1",
51 "TDMOUT_B IN 2", "FRDDR_C OUT 1",
52 "TDM_B Playback", "TDMOUT_B OUT";
54 assigned-clocks = <&clkc CLKID_MPLL2>,
57 assigned-clock-parents = <0>, <0>, <0>;
58 assigned-clock-rates = <294912000>,
64 sound-dai = <&frddr_a>;
68 sound-dai = <&frddr_b>;
72 sound-dai = <&frddr_c>;
75 /* 8ch hdmi interface */
77 sound-dai = <&tdmif_b>;
79 dai-tdm-slot-tx-mask-0 = <1 1>;
80 dai-tdm-slot-tx-mask-1 = <1 1>;
81 dai-tdm-slot-tx-mask-2 = <1 1>;
82 dai-tdm-slot-tx-mask-3 = <1 1>;
86 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>;
91 sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
94 sound-dai = <&hdmi_tx>;
122 pinctrl-0 = <&i2c3_sda_a_pins>, <&i2c3_sck_a_pins>;
123 pinctrl-names = "default";
126 compatible = "nxp,pcf8563";