1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2019 BayLibre SAS. All rights reserved.
4 * Copyright (c) 2020 Christian Hewitt <christianshewitt@gmail.com>
9 #include "meson-sm1-ac2xx.dtsi"
10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
13 compatible = "haochuangyi,h96-max", "amlogic,sm1";
14 model = "Shenzhen Haochuangyi Technology Co., Ltd H96 Max";
17 compatible = "amlogic,axg-sound-card";
19 audio-aux-devs = <&tdmout_b>;
20 audio-routing = "TDMOUT_B IN 0", "FRDDR_A OUT 1",
21 "TDMOUT_B IN 1", "FRDDR_B OUT 1",
22 "TDMOUT_B IN 2", "FRDDR_C OUT 1",
23 "TDM_B Playback", "TDMOUT_B OUT";
25 assigned-clocks = <&clkc CLKID_MPLL2>,
28 assigned-clock-parents = <0>, <0>, <0>;
29 assigned-clock-rates = <294912000>,
34 sound-dai = <&frddr_a>;
38 sound-dai = <&frddr_b>;
42 sound-dai = <&frddr_c>;
45 /* 8ch hdmi interface */
47 sound-dai = <&tdmif_b>;
49 dai-tdm-slot-tx-mask-0 = <1 1>;
50 dai-tdm-slot-tx-mask-1 = <1 1>;
51 dai-tdm-slot-tx-mask-2 = <1 1>;
52 dai-tdm-slot-tx-mask-3 = <1 1>;
56 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>;
62 sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
65 sound-dai = <&hdmi_tx>;
82 pinctrl-0 = <ð_pins>, <ð_rgmii_pins>;
83 pinctrl-names = "default";
84 phy-mode = "rgmii-txid";
85 phy-handle = <&external_phy>;
87 rx-internal-delay-ps = <800>;
91 external_phy: ethernet-phy@0 {
92 /* Realtek RTL8211F (0x001cc916) */
96 reset-assert-us = <10000>;
97 reset-deassert-us = <80000>;
98 reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
100 interrupt-parent = <&gpio_intc>;
101 /* MAC_INTR on GPIOZ_14 */
102 interrupts = <IRQID_GPIOZ_14 IRQ_TYPE_LEVEL_LOW>;
133 pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
134 pinctrl-names = "default";
138 compatible = "brcm,bcm43438-bt";
139 shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
140 max-speed = <2000000>;