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