xref: /linux/arch/arm/boot/dts/nxp/imx/imx6ul-pico-pi.dts (revision 724ba6751532055db75992fc6ae21c3e322e94a7)
1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0 OR MIT)
2*724ba675SRob Herring//
3*724ba675SRob Herring// Copyright 2015 Technexion Ltd.
4*724ba675SRob Herring//
5*724ba675SRob Herring// Author: Wig Cheng  <wig.cheng@technexion.com>
6*724ba675SRob Herring//	   Richard Hu <richard.hu@technexion.com>
7*724ba675SRob Herring//	   Tapani Utriainen <tapani@technexion.com>
8*724ba675SRob Herring/dts-v1/;
9*724ba675SRob Herring
10*724ba675SRob Herring#include "imx6ul-pico.dtsi"
11*724ba675SRob Herring/ {
12*724ba675SRob Herring	model = "TechNexion PICO-IMX6UL and PI baseboard";
13*724ba675SRob Herring	compatible = "technexion,imx6ul-pico-pi", "fsl,imx6ul";
14*724ba675SRob Herring
15*724ba675SRob Herring	leds {
16*724ba675SRob Herring		compatible = "gpio-leds";
17*724ba675SRob Herring		pinctrl-names = "default";
18*724ba675SRob Herring		pinctrl-0 = <&pinctrl_gpio_leds>;
19*724ba675SRob Herring
20*724ba675SRob Herring		led {
21*724ba675SRob Herring			label = "gpio-led";
22*724ba675SRob Herring			gpios = <&gpio4 20 GPIO_ACTIVE_HIGH>;
23*724ba675SRob Herring		};
24*724ba675SRob Herring	};
25*724ba675SRob Herring
26*724ba675SRob Herring	sound {
27*724ba675SRob Herring		compatible = "fsl,imx-audio-sgtl5000";
28*724ba675SRob Herring		model = "imx6ul-sgtl5000";
29*724ba675SRob Herring		audio-cpu = <&sai1>;
30*724ba675SRob Herring		audio-codec = <&sgtl5000>;
31*724ba675SRob Herring		audio-routing =
32*724ba675SRob Herring			"LINE_IN", "Line In Jack",
33*724ba675SRob Herring			"MIC_IN", "Mic Jack",
34*724ba675SRob Herring			"Mic Jack", "Mic Bias",
35*724ba675SRob Herring			"Headphone Jack", "HP_OUT";
36*724ba675SRob Herring	};
37*724ba675SRob Herring
38*724ba675SRob Herring	sys_mclk: clock-sys-mclk {
39*724ba675SRob Herring		compatible = "fixed-clock";
40*724ba675SRob Herring		#clock-cells = <0>;
41*724ba675SRob Herring		clock-frequency = <24576000>;
42*724ba675SRob Herring	};
43*724ba675SRob Herring};
44*724ba675SRob Herring
45*724ba675SRob Herring&i2c2 {
46*724ba675SRob Herring	clock-frequency = <100000>;
47*724ba675SRob Herring	pinctrl-names = "default";
48*724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c2>;
49*724ba675SRob Herring	status = "okay";
50*724ba675SRob Herring
51*724ba675SRob Herring	sgtl5000: codec@a {
52*724ba675SRob Herring		reg = <0x0a>;
53*724ba675SRob Herring		compatible = "fsl,sgtl5000";
54*724ba675SRob Herring		clocks = <&sys_mclk>;
55*724ba675SRob Herring		VDDA-supply = <&reg_2p5v>;
56*724ba675SRob Herring		VDDIO-supply = <&reg_3p3v>;
57*724ba675SRob Herring	};
58*724ba675SRob Herring};
59*724ba675SRob Herring
60*724ba675SRob Herring&i2c3 {
61*724ba675SRob Herring	clock-frequency = <100000>;
62*724ba675SRob Herring	pinctrl-names = "default";
63*724ba675SRob Herring	pinctrl-0 = <&pinctrl_i2c3>;
64*724ba675SRob Herring	status = "okay";
65*724ba675SRob Herring
66*724ba675SRob Herring	polytouch: touchscreen@38 {
67*724ba675SRob Herring		compatible = "edt,edt-ft5x06";
68*724ba675SRob Herring		reg = <0x38>;
69*724ba675SRob Herring		interrupt-parent = <&gpio1>;
70*724ba675SRob Herring		interrupts = <29 IRQ_TYPE_EDGE_FALLING>;
71*724ba675SRob Herring		reset-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>;
72*724ba675SRob Herring		touchscreen-size-x = <800>;
73*724ba675SRob Herring		touchscreen-size-y = <480>;
74*724ba675SRob Herring	};
75*724ba675SRob Herring};
76*724ba675SRob Herring
77*724ba675SRob Herring&iomuxc {
78*724ba675SRob Herring	pinctrl-names = "default";
79*724ba675SRob Herring	pinctrl-0 = <&pinctrl_hog>;
80*724ba675SRob Herring
81*724ba675SRob Herring	pinctrl_hog: hoggrp {
82*724ba675SRob Herring		fsl,pins = <
83*724ba675SRob Herring			MX6UL_PAD_CSI_VSYNC__GPIO4_IO19		0x10b0
84*724ba675SRob Herring			MX6UL_PAD_CSI_DATA00__GPIO4_IO21	0x10b0
85*724ba675SRob Herring			MX6UL_PAD_CSI_DATA01__GPIO4_IO22	0x10b0
86*724ba675SRob Herring			MX6UL_PAD_CSI_DATA02__GPIO4_IO23	0x10b0
87*724ba675SRob Herring			MX6UL_PAD_UART1_CTS_B__GPIO1_IO18	0x10b0
88*724ba675SRob Herring			MX6UL_PAD_SNVS_TAMPER2__GPIO5_IO02	0x10b0
89*724ba675SRob Herring		>;
90*724ba675SRob Herring	};
91*724ba675SRob Herring
92*724ba675SRob Herring	pinctrl_gpio_leds: gpioledsgrp {
93*724ba675SRob Herring		fsl,pins = <
94*724ba675SRob Herring			MX6UL_PAD_CSI_HSYNC__GPIO4_IO20		0x10b0
95*724ba675SRob Herring		>;
96*724ba675SRob Herring	};
97*724ba675SRob Herring};
98