xref: /linux/arch/arm/boot/dts/nxp/imx/imx7d-pico-nymph.dts (revision d54bcc3a3dc63bb2d8348c2e34e24bbb48fa1c22)
1724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2724ba675SRob Herring//
3724ba675SRob Herring// Copyright 2015 Technexion Ltd.
4724ba675SRob Herring//
5724ba675SRob Herring// Author: Wig Cheng  <wig.cheng@technexion.com>
6724ba675SRob Herring//	   Richard Hu <richard.hu@technexion.com>
7724ba675SRob Herring//	   Tapani Utriainen <tapani@technexion.com>
8724ba675SRob Herring/dts-v1/;
9724ba675SRob Herring
10724ba675SRob Herring#include "imx7d-pico.dtsi"
11724ba675SRob Herring/ {
12724ba675SRob Herring	model = "TechNexion PICO-IMX7 and NYMPH baseboard";
13724ba675SRob Herring	compatible = "technexion,imx7d-pico-nymph", "fsl,imx7d";
14724ba675SRob Herring
15724ba675SRob Herring	leds {
16724ba675SRob Herring		compatible = "gpio-leds";
17724ba675SRob Herring		pinctrl-names = "default";
18724ba675SRob Herring		pinctrl-0 = <&pinctrl_gpio_leds>;
19724ba675SRob Herring
20724ba675SRob Herring		led {
21724ba675SRob Herring			label = "gpio-led";
22724ba675SRob Herring			gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
23724ba675SRob Herring		};
24724ba675SRob Herring	};
25724ba675SRob Herring
26724ba675SRob Herring	sound {
27724ba675SRob Herring		compatible = "fsl,imx-audio-sgtl5000";
28724ba675SRob Herring		model = "imx7d-sgtl5000";
29724ba675SRob Herring		audio-cpu = <&sai1>;
30724ba675SRob Herring		audio-codec = <&sgtl5000>;
31724ba675SRob Herring		audio-routing =
32724ba675SRob Herring			"LINE_IN", "Line In Jack",
33724ba675SRob Herring			"MIC_IN", "Mic Jack",
34724ba675SRob Herring			"Mic Jack", "Mic Bias",
35724ba675SRob Herring			"Headphone Jack", "HP_OUT";
36724ba675SRob Herring	};
37724ba675SRob Herring
38724ba675SRob Herring	sys_mclk: clock-sys-mclk {
39724ba675SRob Herring		compatible = "fixed-clock";
40724ba675SRob Herring		#clock-cells = <0>;
41724ba675SRob Herring		clock-frequency = <24576000>;
42724ba675SRob Herring	};
43724ba675SRob Herring};
44724ba675SRob Herring
45724ba675SRob Herring&i2c1 {
46724ba675SRob Herring	clock-frequency = <100000>;
47724ba675SRob Herring	pinctrl-names = "default";
48724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c1>;
49724ba675SRob Herring	status = "okay";
50724ba675SRob Herring
51724ba675SRob Herring	sgtl5000: audio-codec@a {
52724ba675SRob Herring		reg = <0x0a>;
53724ba675SRob Herring		compatible = "fsl,sgtl5000";
54*d54bcc3aSFabio Estevam		#sound-dai-cells = <0>;
55724ba675SRob Herring		clocks = <&sys_mclk>;
56724ba675SRob Herring		VDDA-supply = <&reg_2p5v>;
57724ba675SRob Herring		VDDIO-supply = <&reg_3p3v>;
58724ba675SRob Herring	};
59724ba675SRob Herring
60724ba675SRob Herring	adc@52 {
61724ba675SRob Herring		compatible = "ti,adc081c";
62724ba675SRob Herring		reg = <0x52>;
63724ba675SRob Herring		vref-supply = <&reg_2p5v>;
64724ba675SRob Herring	};
65724ba675SRob Herring};
66724ba675SRob Herring
67724ba675SRob Herring&i2c2 {
68724ba675SRob Herring	clock-frequency = <100000>;
69724ba675SRob Herring	pinctrl-names = "default";
70724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c2>;
71724ba675SRob Herring	status = "okay";
72724ba675SRob Herring
73724ba675SRob Herring	rtc@68 {
74724ba675SRob Herring		compatible = "dallas,ds1337";
75724ba675SRob Herring		reg = <0x68>;
76724ba675SRob Herring	};
77724ba675SRob Herring};
78724ba675SRob Herring
79724ba675SRob Herring&iomuxc {
80724ba675SRob Herring	pinctrl_gpio_leds: gpioledsgrp {
81724ba675SRob Herring		fsl,pins = <
82724ba675SRob Herring			MX7D_PAD_EPDC_DATA13__GPIO2_IO13	0x14
83724ba675SRob Herring		>;
84724ba675SRob Herring	};
85724ba675SRob Herring};
86