1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0 OR MIT) 2 // 2 // 3 // Copyright 2015 Technexion Ltd. 3 // Copyright 2015 Technexion Ltd. 4 // 4 // 5 // Author: Wig Cheng <wig.cheng@technexion.com 5 // Author: Wig Cheng <wig.cheng@technexion.com> 6 // Richard Hu <richard.hu@technexion.co 6 // Richard Hu <richard.hu@technexion.com> 7 // Tapani Utriainen <tapani@technexion. 7 // Tapani Utriainen <tapani@technexion.com> 8 /dts-v1/; 8 /dts-v1/; 9 9 10 #include "imx7d-pico.dtsi" 10 #include "imx7d-pico.dtsi" 11 / { 11 / { 12 model = "TechNexion PICO-IMX7 and NYMP 12 model = "TechNexion PICO-IMX7 and NYMPH baseboard"; 13 compatible = "technexion,imx7d-pico-ny 13 compatible = "technexion,imx7d-pico-nymph", "fsl,imx7d"; 14 14 15 leds { 15 leds { 16 compatible = "gpio-leds"; 16 compatible = "gpio-leds"; 17 pinctrl-names = "default"; 17 pinctrl-names = "default"; 18 pinctrl-0 = <&pinctrl_gpio_led 18 pinctrl-0 = <&pinctrl_gpio_leds>; 19 19 20 led { 20 led { 21 label = "gpio-led"; 21 label = "gpio-led"; 22 gpios = <&gpio2 13 GPI 22 gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>; 23 }; 23 }; 24 }; 24 }; 25 25 26 sound { 26 sound { 27 compatible = "fsl,imx-audio-sg 27 compatible = "fsl,imx-audio-sgtl5000"; 28 model = "imx7d-sgtl5000"; 28 model = "imx7d-sgtl5000"; 29 audio-cpu = <&sai1>; 29 audio-cpu = <&sai1>; 30 audio-codec = <&sgtl5000>; 30 audio-codec = <&sgtl5000>; 31 audio-routing = 31 audio-routing = 32 "LINE_IN", "Line In Ja 32 "LINE_IN", "Line In Jack", 33 "MIC_IN", "Mic Jack", 33 "MIC_IN", "Mic Jack", 34 "Mic Jack", "Mic Bias" 34 "Mic Jack", "Mic Bias", 35 "Headphone Jack", "HP_ 35 "Headphone Jack", "HP_OUT"; 36 }; 36 }; 37 37 38 sys_mclk: clock-sys-mclk { 38 sys_mclk: clock-sys-mclk { 39 compatible = "fixed-clock"; 39 compatible = "fixed-clock"; 40 #clock-cells = <0>; 40 #clock-cells = <0>; 41 clock-frequency = <24576000>; 41 clock-frequency = <24576000>; 42 }; 42 }; 43 }; 43 }; 44 44 45 &i2c1 { 45 &i2c1 { 46 clock-frequency = <100000>; 46 clock-frequency = <100000>; 47 pinctrl-names = "default"; 47 pinctrl-names = "default"; 48 pinctrl-0 = <&pinctrl_i2c1>; 48 pinctrl-0 = <&pinctrl_i2c1>; 49 status = "okay"; 49 status = "okay"; 50 50 51 sgtl5000: audio-codec@a { 51 sgtl5000: audio-codec@a { 52 reg = <0x0a>; 52 reg = <0x0a>; 53 compatible = "fsl,sgtl5000"; 53 compatible = "fsl,sgtl5000"; 54 #sound-dai-cells = <0>; 54 #sound-dai-cells = <0>; 55 clocks = <&sys_mclk>; 55 clocks = <&sys_mclk>; 56 VDDA-supply = <®_2p5v>; 56 VDDA-supply = <®_2p5v>; 57 VDDIO-supply = <®_3p3v>; 57 VDDIO-supply = <®_3p3v>; 58 }; 58 }; 59 59 60 adc@52 { 60 adc@52 { 61 compatible = "ti,adc081c"; 61 compatible = "ti,adc081c"; 62 reg = <0x52>; 62 reg = <0x52>; 63 vref-supply = <®_2p5v>; 63 vref-supply = <®_2p5v>; 64 }; 64 }; 65 }; 65 }; 66 66 67 &i2c2 { 67 &i2c2 { 68 clock-frequency = <100000>; 68 clock-frequency = <100000>; 69 pinctrl-names = "default"; 69 pinctrl-names = "default"; 70 pinctrl-0 = <&pinctrl_i2c2>; 70 pinctrl-0 = <&pinctrl_i2c2>; 71 status = "okay"; 71 status = "okay"; 72 72 73 rtc@68 { 73 rtc@68 { 74 compatible = "dallas,ds1337"; 74 compatible = "dallas,ds1337"; 75 reg = <0x68>; 75 reg = <0x68>; 76 }; 76 }; 77 }; 77 }; 78 78 79 &iomuxc { 79 &iomuxc { 80 pinctrl_gpio_leds: gpioledsgrp { 80 pinctrl_gpio_leds: gpioledsgrp { 81 fsl,pins = < 81 fsl,pins = < 82 MX7D_PAD_EPDC_DATA13__ 82 MX7D_PAD_EPDC_DATA13__GPIO2_IO13 0x14 83 >; 83 >; 84 }; 84 }; 85 }; 85 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.