1// SPDX-License-Identifier: GPL-2.0 2 3#include <dt-bindings/sound/rt5640.h> 4 5/ { 6 compatible = "nvidia,p3737-0000"; 7 8 bus@0 { 9 aconnect@2900000 { 10 ahub@2900800 { 11 i2s@2901000 { 12 ports { 13 port@1 { 14 endpoint { 15 dai-format = "i2s"; 16 remote-endpoint = <&rt5640_ep>; 17 }; 18 }; 19 }; 20 }; 21 }; 22 }; 23 24 i2c@3160000 { 25 status = "okay"; 26 27 eeprom@56 { 28 compatible = "atmel,24c02"; 29 reg = <0x56>; 30 31 label = "system"; 32 vcc-supply = <&vdd_1v8_sys>; 33 address-width = <8>; 34 pagesize = <8>; 35 size = <256>; 36 read-only; 37 }; 38 }; 39 40 i2c@31e0000 { 41 status = "okay"; 42 43 audio-codec@1c { 44 compatible = "realtek,rt5640"; 45 reg = <0x1c>; 46 interrupt-parent = <&gpio>; 47 interrupts = <TEGRA234_MAIN_GPIO(AC, 5) GPIO_ACTIVE_HIGH>; 48 clocks = <&bpmp TEGRA234_CLK_AUD_MCLK>; 49 clock-names = "mclk"; 50 realtek,dmic1-data-pin = <RT5640_DMIC1_DATA_PIN_NONE>; 51 realtek,dmic2-data-pin = <RT5640_DMIC2_DATA_PIN_NONE>; 52 realtek,jack-detect-source = <RT5640_JD_SRC_HDA_HEADER>; 53 sound-name-prefix = "CVB-RT"; 54 55 port { 56 rt5640_ep: endpoint { 57 remote-endpoint = <&i2s1_dap>; 58 mclk-fs = <256>; 59 }; 60 }; 61 }; 62 }; 63 64 pwm@3280000 { 65 status = "okay"; 66 }; 67 68 pwm@32c0000 { 69 status = "okay"; 70 }; 71 72 pwm@32f0000 { 73 status = "okay"; 74 }; 75 }; 76 77 fan: pwm-fan { 78 compatible = "pwm-fan"; 79 pwms = <&pwm3 0 45334>; 80 #cooling-cells = <2>; 81 }; 82 83 vdd_1v8_sys: regulator-vdd-1v8-sys { 84 compatible = "regulator-fixed"; 85 regulator-name = "VDD_1V8_SYS"; 86 regulator-min-microvolt = <1800000>; 87 regulator-max-microvolt = <1800000>; 88 regulator-always-on; 89 }; 90}; 91