~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm64/boot/dts/amlogic/meson-sm1-h96-max.dts

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2 /*
  3  * Copyright (c) 2019 BayLibre SAS. All rights reserved.
  4  * Copyright (c) 2020 Christian Hewitt <christianshewitt@gmail.com>
  5  */
  6 
  7 /dts-v1/;
  8 
  9 #include "meson-sm1-ac2xx.dtsi"
 10 #include <dt-bindings/sound/meson-g12a-tohdmitx.h>
 11 
 12 / {
 13         compatible = "haochuangyi,h96-max", "amlogic,sm1";
 14         model = "Shenzhen Haochuangyi Technology Co., Ltd H96 Max";
 15 
 16         sound {
 17                 compatible = "amlogic,axg-sound-card";
 18                 model = "H96-MAX";
 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";
 24 
 25                 assigned-clocks = <&clkc CLKID_MPLL2>,
 26                                   <&clkc CLKID_MPLL0>,
 27                                   <&clkc CLKID_MPLL1>;
 28                 assigned-clock-parents = <0>, <0>, <0>;
 29                 assigned-clock-rates = <294912000>,
 30                                        <270950400>,
 31                                        <393216000>;
 32 
 33                 dai-link-0 {
 34                         sound-dai = <&frddr_a>;
 35                 };
 36 
 37                 dai-link-1 {
 38                         sound-dai = <&frddr_b>;
 39                 };
 40 
 41                 dai-link-2 {
 42                         sound-dai = <&frddr_c>;
 43                 };
 44 
 45                 /* 8ch hdmi interface */
 46                 dai-link-3 {
 47                         sound-dai = <&tdmif_b>;
 48                         dai-format = "i2s";
 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>;
 53                         mclk-fs = <256>;
 54 
 55                         codec {
 56                                 sound-dai = <&tohdmitx TOHDMITX_I2S_IN_B>;
 57                         };
 58                 };
 59 
 60                 /* hdmi glue */
 61                 dai-link-4 {
 62                         sound-dai = <&tohdmitx TOHDMITX_I2S_OUT>;
 63 
 64                         codec {
 65                                 sound-dai = <&hdmi_tx>;
 66                         };
 67                 };
 68         };
 69 };
 70 
 71 &arb {
 72         status = "okay";
 73 };
 74 
 75 &clkc_audio {
 76         status = "okay";
 77 };
 78 
 79 &ethmac {
 80         status = "okay";
 81 
 82         pinctrl-0 = <&eth_pins>, <&eth_rgmii_pins>;
 83         pinctrl-names = "default";
 84         phy-mode = "rgmii-txid";
 85         phy-handle = <&external_phy>;
 86 
 87         rx-internal-delay-ps = <800>;
 88 };
 89 
 90 &ext_mdio {
 91         external_phy: ethernet-phy@0 {
 92                 /* Realtek RTL8211F (0x001cc916) */
 93                 reg = <0>;
 94                 max-speed = <1000>;
 95 
 96                 reset-assert-us = <10000>;
 97                 reset-deassert-us = <80000>;
 98                 reset-gpios = <&gpio GPIOZ_15 (GPIO_ACTIVE_LOW | GPIO_OPEN_DRAIN)>;
 99 
100                 interrupt-parent = <&gpio_intc>;
101                 /* MAC_INTR on GPIOZ_14 */
102                 interrupts = <IRQID_GPIOZ_14 IRQ_TYPE_LEVEL_LOW>;
103         };
104 };
105 
106 &frddr_a {
107         status = "okay";
108 };
109 
110 &frddr_b {
111         status = "okay";
112 };
113 
114 &frddr_c {
115         status = "okay";
116 };
117 
118 &tdmif_b {
119         status = "okay";
120 };
121 
122 &tdmout_b {
123         status = "okay";
124 };
125 
126 &tohdmitx {
127         status = "okay";
128 };
129 
130 &uart_A {
131         status = "okay";
132 
133         pinctrl-0 = <&uart_a_pins>, <&uart_a_cts_rts_pins>;
134         pinctrl-names = "default";
135         uart-has-rtscts;
136 
137         bluetooth {
138                 compatible = "brcm,bcm43438-bt";
139                 shutdown-gpios = <&gpio GPIOX_17 GPIO_ACTIVE_HIGH>;
140                 max-speed = <2000000>;
141                 clocks = <&wifi32k>;
142                 clock-names = "lpo";
143         };
144 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php