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