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>, << 21 <&clkc CLKID_MPLL1>, << 22 <&clkc CLKID_MPLL2>; << 23 << 24 assigned-clocks = <&clkc CLKID 20 assigned-clocks = <&clkc CLKID_MPLL0>, 25 <&clkc CLKID 21 <&clkc CLKID_MPLL1>, 26 <&clkc CLKID 22 <&clkc CLKID_MPLL2>; 27 assigned-clock-parents = <0>, 23 assigned-clock-parents = <0>, <0>, <0>; 28 assigned-clock-rates = <294912 24 assigned-clock-rates = <294912000>, 29 <270950 25 <270950400>, 30 <393216 26 <393216000>; 31 27 32 dai-link-0 { 28 dai-link-0 { 33 sound-dai = <&aiu AIU_ 29 sound-dai = <&aiu AIU_CPU CPU_I2S_FIFO>; 34 }; 30 }; 35 31 36 dai-link-1 { 32 dai-link-1 { 37 sound-dai = <&aiu AIU_ 33 sound-dai = <&aiu AIU_CPU CPU_I2S_ENCODER>; 38 dai-format = "i2s"; 34 dai-format = "i2s"; 39 mclk-fs = <256>; 35 mclk-fs = <256>; 40 36 41 codec-0 { 37 codec-0 { 42 sound-dai = <& 38 sound-dai = <&aiu AIU_HDMI CTRL_I2S>; 43 }; 39 }; 44 }; 40 }; 45 41 46 dai-link-2 { 42 dai-link-2 { 47 sound-dai = <&aiu AIU_ 43 sound-dai = <&aiu AIU_HDMI CTRL_OUT>; 48 44 49 codec-0 { 45 codec-0 { 50 sound-dai = <& 46 sound-dai = <&hdmi_tx>; 51 }; 47 }; 52 }; 48 }; 53 }; 49 }; 54 }; 50 }; 55 51 56 &aiu { 52 &aiu { 57 status = "okay"; 53 status = "okay"; 58 }; 54 }; 59 55 60 ðmac { 56 ðmac { 61 status = "okay"; 57 status = "okay"; 62 pinctrl-0 = <ð_rmii_pins>; 58 pinctrl-0 = <ð_rmii_pins>; 63 pinctrl-names = "default"; 59 pinctrl-names = "default"; 64 phy-mode = "rmii"; 60 phy-mode = "rmii"; 65 61 66 snps,reset-gpio = <&gpio GPIOZ_14 0>; 62 snps,reset-gpio = <&gpio GPIOZ_14 0>; 67 snps,reset-delays-us = <0>, <10000>, < 63 snps,reset-delays-us = <0>, <10000>, <1000000>; 68 snps,reset-active-low; 64 snps,reset-active-low; 69 }; 65 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.