Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | // SPDX-License-Identifier: (GPL-2.0 OR MIT) |
| 2 | // |
| 3 | // Copyright 2015 Technexion Ltd. |
| 4 | // |
| 5 | // Author: Wig Cheng <wig.cheng@technexion.com> |
| 6 | // Richard Hu <richard.hu@technexion.com> |
| 7 | // Tapani Utriainen <tapani@technexion.com> |
| 8 | /dts-v1/; |
| 9 | |
| 10 | #include "imx6ul-pico.dtsi" |
| 11 | / { |
| 12 | model = "TechNexion PICO-IMX6UL and DWARF baseboard"; |
| 13 | compatible = "technexion,imx6ul-pico-dwarf", "fsl,imx6ul"; |
| 14 | |
| 15 | sound { |
| 16 | compatible = "fsl,imx-audio-sgtl5000"; |
| 17 | model = "imx6ul-sgtl5000"; |
| 18 | audio-cpu = <&sai1>; |
| 19 | audio-codec = <&sgtl5000>; |
| 20 | audio-routing = |
| 21 | "LINE_IN", "Line In Jack", |
| 22 | "MIC_IN", "Mic Jack", |
| 23 | "Mic Jack", "Mic Bias", |
| 24 | "Headphone Jack", "HP_OUT"; |
| 25 | }; |
| 26 | |
| 27 | sys_mclk: clock-sys-mclk { |
| 28 | compatible = "fixed-clock"; |
| 29 | #clock-cells = <0>; |
| 30 | clock-frequency = <24576000>; |
| 31 | }; |
| 32 | }; |
| 33 | |
| 34 | &i2c2 { |
| 35 | clock-frequency = <100000>; |
| 36 | pinctrl-names = "default"; |
| 37 | pinctrl-0 = <&pinctrl_i2c2>; |
| 38 | status = "okay"; |
| 39 | |
| 40 | sgtl5000: audio-codec@a { |
| 41 | reg = <0x0a>; |
| 42 | compatible = "fsl,sgtl5000"; |
| 43 | #sound-dai-cells = <0>; |
| 44 | clocks = <&sys_mclk>; |
| 45 | VDDA-supply = <®_2p5v>; |
| 46 | VDDIO-supply = <®_3p3v>; |
| 47 | }; |
| 48 | |
| 49 | pressure-sensor@60 { |
| 50 | compatible = "fsl,mpl3115"; |
| 51 | reg = <0x60>; |
| 52 | }; |
| 53 | }; |