1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 3 * Copyright (c) 2019 BayLibre SAS. All rights 4 * Copyright (c) 2020 Christian Hewitt <christi 5 */ 6 7 /dts-v1/; 8 9 #include "meson-sm1-ac2xx.dtsi" 10 #include <dt-bindings/sound/meson-g12a-tohdmit 11 12 / { 13 compatible = "amediatech,x96-air-gbit" 14 model = "Shenzhen Amediatech Technolog 15 16 sound { 17 compatible = "amlogic,axg-soun 18 model = "X96-AIR"; 19 audio-aux-devs = <&tdmout_b>; 20 audio-routing = "TDMOUT_B IN 0 21 "TDMOUT_B IN 1 22 "TDMOUT_B IN 2 23 "TDM_B Playbac 24 25 clocks = <&clkc CLKID_MPLL2>, 26 <&clkc CLKID_MPLL0>, 27 <&clkc CLKID_MPLL1>; 28 29 assigned-clocks = <&clkc CLKID 30 <&clkc CLKID 31 <&clkc CLKID 32 assigned-clock-parents = <0>, 33 assigned-clock-rates = <294912 34 <270950 35 <393216 36 37 dai-link-0 { 38 sound-dai = <&frddr_a> 39 }; 40 41 dai-link-1 { 42 sound-dai = <&frddr_b> 43 }; 44 45 dai-link-2 { 46 sound-dai = <&frddr_c> 47 }; 48 49 /* 8ch hdmi interface */ 50 dai-link-3 { 51 sound-dai = <&tdmif_b> 52 dai-format = "i2s"; 53 dai-tdm-slot-tx-mask-0 54 dai-tdm-slot-tx-mask-1 55 dai-tdm-slot-tx-mask-2 56 dai-tdm-slot-tx-mask-3 57 mclk-fs = <256>; 58 59 codec { 60 sound-dai = <& 61 }; 62 }; 63 64 /* hdmi glue */ 65 dai-link-4 { 66 sound-dai = <&tohdmitx 67 68 codec { 69 sound-dai = <& 70 }; 71 }; 72 }; 73 }; 74 75 &arb { 76 status = "okay"; 77 }; 78 79 &clkc_audio { 80 status = "okay"; 81 }; 82 83 ðmac { 84 status = "okay"; 85 86 pinctrl-0 = <ð_pins>, <ð_rgmii_p 87 pinctrl-names = "default"; 88 phy-mode = "rgmii-txid"; 89 phy-handle = <&external_phy>; 90 91 rx-internal-delay-ps = <800>; 92 }; 93 94 &ext_mdio { 95 external_phy: ethernet-phy@0 { 96 /* Realtek RTL8211F (0x001cc91 97 reg = <0>; 98 max-speed = <1000>; 99 100 reset-assert-us = <10000>; 101 reset-deassert-us = <80000>; 102 reset-gpios = <&gpio GPIOZ_15 103 104 interrupt-parent = <&gpio_intc 105 /* MAC_INTR on GPIOZ_14 */ 106 interrupts = <IRQID_GPIOZ_14 I 107 }; 108 }; 109 110 &frddr_a { 111 status = "okay"; 112 }; 113 114 &frddr_b { 115 status = "okay"; 116 }; 117 118 &frddr_c { 119 status = "okay"; 120 }; 121 122 &ir { 123 linux,rc-map-name = "rc-x96max"; 124 }; 125 126 &tdmif_b { 127 status = "okay"; 128 }; 129 130 &tdmout_b { 131 status = "okay"; 132 }; 133 134 &tohdmitx { 135 status = "okay"; 136 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.