1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0-or-later 2724ba675SRob Herring/* 3724ba675SRob Herring * Copyright 2013 Christian Hemp, Phytec Messtechnik GmbH 4724ba675SRob Herring */ 5724ba675SRob Herring 6724ba675SRob Herring#include <dt-bindings/sound/fsl-imx-audmux.h> 7724ba675SRob Herring 8724ba675SRob Herring/ { 9724ba675SRob Herring chosen { 10724ba675SRob Herring stdout-path = &uart4; 11724ba675SRob Herring }; 12724ba675SRob Herring 13*ec20d468SFabio Estevam sound_1v8: regulator-sound-1v8 { 14724ba675SRob Herring compatible = "regulator-fixed"; 15724ba675SRob Herring regulator-name = "i2s-audio-1v8"; 16724ba675SRob Herring regulator-min-microvolt = <1800000>; 17724ba675SRob Herring regulator-max-microvolt = <1800000>; 18724ba675SRob Herring }; 19724ba675SRob Herring 20*ec20d468SFabio Estevam sound_3v3: regulator-sound-3v3 { 21724ba675SRob Herring compatible = "regulator-fixed"; 22724ba675SRob Herring regulator-name = "i2s-audio-3v3"; 23724ba675SRob Herring regulator-min-microvolt = <3300000>; 24724ba675SRob Herring regulator-max-microvolt = <3300000>; 25724ba675SRob Herring }; 26724ba675SRob Herring 27724ba675SRob Herring tlv320_mclk: oscillator { 28724ba675SRob Herring compatible = "fixed-clock"; 29724ba675SRob Herring #clock-cells = <0>; 30724ba675SRob Herring clock-frequency = <19200000>; 31724ba675SRob Herring clock-output-names = "tlv320-mclk"; 32724ba675SRob Herring }; 33724ba675SRob Herring 34724ba675SRob Herring sound { 35724ba675SRob Herring compatible = "simple-audio-card"; 36724ba675SRob Herring simple-audio-card,name = "OnboardTLV320AIC3007"; 37724ba675SRob Herring simple-audio-card,format = "i2s"; 38724ba675SRob Herring simple-audio-card,bitclock-master = <&dailink_master>; 39724ba675SRob Herring simple-audio-card,frame-master = <&dailink_master>; 40724ba675SRob Herring simple-audio-card,widgets = 41724ba675SRob Herring "Microphone", "Mic Jack", 42724ba675SRob Herring "Line", "Line In", 43724ba675SRob Herring "Line", "Line Out", 44724ba675SRob Herring "Speaker", "Speaker", 45724ba675SRob Herring "Headphone", "Headphone Jack"; 46724ba675SRob Herring simple-audio-card,routing = 47724ba675SRob Herring "Line Out", "LLOUT", 48724ba675SRob Herring "Line Out", "RLOUT", 49724ba675SRob Herring "Speaker", "SPOP", 50724ba675SRob Herring "Speaker", "SPOM", 51724ba675SRob Herring "Headphone Jack", "HPLOUT", 52724ba675SRob Herring "Headphone Jack", "HPROUT", 53724ba675SRob Herring "MIC3L", "Mic Jack", 54724ba675SRob Herring "MIC3R", "Mic Jack", 55724ba675SRob Herring "Mic Jack", "Mic Bias", 56724ba675SRob Herring "LINE1L", "Line In", 57724ba675SRob Herring "LINE1R", "Line In"; 58724ba675SRob Herring 59724ba675SRob Herring simple-audio-card,cpu { 60724ba675SRob Herring sound-dai = <&ssi2>; 61724ba675SRob Herring }; 62724ba675SRob Herring 63724ba675SRob Herring dailink_master: simple-audio-card,codec { 64724ba675SRob Herring sound-dai = <&codec>; 65724ba675SRob Herring clocks = <&tlv320_mclk>; 66724ba675SRob Herring }; 67724ba675SRob Herring }; 68724ba675SRob Herring 69724ba675SRob Herring}; 70724ba675SRob Herring 71724ba675SRob Herring&audmux { 72724ba675SRob Herring status = "okay"; 73724ba675SRob Herring 74724ba675SRob Herring mux-ssi2 { 75724ba675SRob Herring fsl,audmux-port = <1>; 76724ba675SRob Herring fsl,port-config = < 77724ba675SRob Herring (IMX_AUDMUX_V2_PTCR_SYN | 78724ba675SRob Herring IMX_AUDMUX_V2_PTCR_TFSDIR | 79724ba675SRob Herring IMX_AUDMUX_V2_PTCR_TFSEL(4) | 80724ba675SRob Herring IMX_AUDMUX_V2_PTCR_TCLKDIR | 81724ba675SRob Herring IMX_AUDMUX_V2_PTCR_TCSEL(4)) 82724ba675SRob Herring IMX_AUDMUX_V2_PDCR_RXDSEL(4) 83724ba675SRob Herring >; 84724ba675SRob Herring }; 85724ba675SRob Herring 86724ba675SRob Herring mux-pins5 { 87724ba675SRob Herring fsl,audmux-port = <4>; 88724ba675SRob Herring fsl,port-config = < 89724ba675SRob Herring IMX_AUDMUX_V2_PTCR_SYN 90724ba675SRob Herring IMX_AUDMUX_V2_PDCR_RXDSEL(1) 91724ba675SRob Herring >; 92724ba675SRob Herring }; 93724ba675SRob Herring}; 94724ba675SRob Herring 95724ba675SRob Herring&can1 { 96724ba675SRob Herring status = "okay"; 97724ba675SRob Herring}; 98724ba675SRob Herring 99724ba675SRob Herring&fec { 100724ba675SRob Herring status = "okay"; 101724ba675SRob Herring}; 102724ba675SRob Herring 103724ba675SRob Herring&hdmi { 104724ba675SRob Herring status = "okay"; 105724ba675SRob Herring}; 106724ba675SRob Herring 107724ba675SRob Herring&i2c2 { 108724ba675SRob Herring status = "okay"; 109724ba675SRob Herring 110724ba675SRob Herring codec: tlv320@18 { 111724ba675SRob Herring compatible = "ti,tlv320aic3007"; 112724ba675SRob Herring #sound-dai-cells = <0>; 113724ba675SRob Herring reg = <0x18>; 114724ba675SRob Herring ai3x-micbias-vg = <2>; 115724ba675SRob Herring 116724ba675SRob Herring AVDD-supply = <&sound_3v3>; 117724ba675SRob Herring IOVDD-supply = <&sound_3v3>; 118724ba675SRob Herring DRVDD-supply = <&sound_3v3>; 119724ba675SRob Herring DVDD-supply = <&sound_1v8>; 120724ba675SRob Herring }; 121724ba675SRob Herring 122724ba675SRob Herring stmpe@41 { 123724ba675SRob Herring compatible = "st,stmpe811"; 124724ba675SRob Herring reg = <0x41>; 125724ba675SRob Herring }; 126724ba675SRob Herring 127724ba675SRob Herring rtc@51 { 128724ba675SRob Herring compatible = "epson,rtc8564"; 129724ba675SRob Herring reg = <0x51>; 130724ba675SRob Herring }; 131724ba675SRob Herring 132724ba675SRob Herring adc@64 { 133724ba675SRob Herring compatible = "maxim,max1037"; 134724ba675SRob Herring reg = <0x64>; 135724ba675SRob Herring }; 136724ba675SRob Herring}; 137724ba675SRob Herring 138724ba675SRob Herring&i2c3 { 139724ba675SRob Herring status = "okay"; 140724ba675SRob Herring}; 141724ba675SRob Herring 142724ba675SRob Herring&pcie { 143724ba675SRob Herring status = "okay"; 144724ba675SRob Herring}; 145724ba675SRob Herring 146724ba675SRob Herring&ssi2 { 147724ba675SRob Herring status = "okay"; 148724ba675SRob Herring}; 149724ba675SRob Herring 150724ba675SRob Herring&uart3 { 151724ba675SRob Herring status = "okay"; 152724ba675SRob Herring}; 153724ba675SRob Herring 154724ba675SRob Herring&uart4 { 155724ba675SRob Herring status = "okay"; 156724ba675SRob Herring}; 157724ba675SRob Herring 158724ba675SRob Herring&usbh1 { 159724ba675SRob Herring status = "okay"; 160724ba675SRob Herring}; 161724ba675SRob Herring 162724ba675SRob Herring&usbotg { 163724ba675SRob Herring status = "okay"; 164724ba675SRob Herring dr_mode = "peripheral"; 165724ba675SRob Herring}; 166724ba675SRob Herring 167724ba675SRob Herring&usdhc2 { 168724ba675SRob Herring status = "okay"; 169724ba675SRob Herring}; 170724ba675SRob Herring 171724ba675SRob Herring&usdhc3 { 172724ba675SRob Herring status = "okay"; 173724ba675SRob Herring}; 174