1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (c) 2016 Andreas Färber 3 * Copyright (c) 2016 Andreas Färber 4 * Copyright (c) 2016 BayLibre, Inc. 4 * Copyright (c) 2016 BayLibre, Inc. 5 * Author: Kevin Hilman <khilman@kernel.org> 5 * Author: Kevin Hilman <khilman@kernel.org> 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 9 10 #include "meson-gxbb-p20x.dtsi" 10 #include "meson-gxbb-p20x.dtsi" 11 #include <dt-bindings/sound/meson-aiu.h> 11 #include <dt-bindings/sound/meson-aiu.h> 12 12 13 / { 13 / { 14 compatible = "amlogic,p201", "amlogic, 14 compatible = "amlogic,p201", "amlogic,meson-gxbb"; 15 model = "Amlogic Meson GXBB P201 Devel 15 model = "Amlogic Meson GXBB P201 Development Board"; 16 16 17 sound { 17 sound { 18 compatible = "amlogic,gx-sound 18 compatible = "amlogic,gx-sound-card"; 19 model = "P201"; 19 model = "P201"; 20 clocks = <&clkc CLKID_MPLL0>, 20 clocks = <&clkc CLKID_MPLL0>, 21 <&clkc CLKID_MPLL1>, 21 <&clkc CLKID_MPLL1>, 22 <&clkc CLKID_MPLL2>; 22 <&clkc CLKID_MPLL2>; 23 23 24 assigned-clocks = <&clkc CLKID 24 assigned-clocks = <&clkc CLKID_MPLL0>, 25 <&clkc CLKID 25 <&clkc CLKID_MPLL1>, 26 <&clkc CLKID 26 <&clkc CLKID_MPLL2>; 27 assigned-clock-parents = <0>, 27 assigned-clock-parents = <0>, <0>, <0>; 28 assigned-clock-rates = <294912 28 assigned-clock-rates = <294912000>, 29 <270950 29 <270950400>, 30 <393216 30 <393216000>; 31 31 32 dai-link-0 { 32 dai-link-0 { 33 sound-dai = <&aiu AIU_ 33 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 34 }; 34 }; 35 35 36 dai-link-1 { 36 dai-link-1 { 37 sound-dai = <&aiu AIU_ 37 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 38 dai-format = "i2s"; 38 dai-format = "i2s"; 39 mclk-fs = <256>; 39 mclk-fs = <256>; 40 40 41 codec-0 { 41 codec-0 { 42 sound-dai = <& 42 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 43 }; 43 }; 44 }; 44 }; 45 45 46 dai-link-2 { 46 dai-link-2 { 47 sound-dai = <&aiu AIU_ 47 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 48 48 49 codec-0 { 49 codec-0 { 50 sound-dai = <& 50 sound-dai = <&hdmi_tx>; 51 }; 51 }; 52 }; 52 }; 53 }; 53 }; 54 }; 54 }; 55 55 56 &aiu { 56 &aiu { 57 status = "okay"; 57 status = "okay"; 58 }; 58 }; 59 59 60 ðmac { 60 ðmac { 61 status = "okay"; 61 status = "okay"; 62 pinctrl-0 = <ð_rmii_pins>; 62 pinctrl-0 = <ð_rmii_pins>; 63 pinctrl-names = "default"; 63 pinctrl-names = "default"; 64 phy-mode = "rmii"; 64 phy-mode = "rmii"; 65 65 66 snps,reset-gpio = <&gpio GPIOZ_14 0>; 66 snps,reset-gpio = <&gpio GPIOZ_14 0>; 67 snps,reset-delays-us = <0>, <10000>, < 67 snps,reset-delays-us = <0>, <10000>, <1000000>; 68 snps,reset-active-low; 68 snps,reset-active-low; 69 }; 69 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.