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 "imx6ul-pico.dtsi" 11724ba675SRob Herring/ { 12724ba675SRob Herring model = "TechNexion PICO-IMX6UL and PI baseboard"; 13724ba675SRob Herring compatible = "technexion,imx6ul-pico-pi", "fsl,imx6ul"; 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 = <&gpio4 20 GPIO_ACTIVE_HIGH>; 23724ba675SRob Herring }; 24724ba675SRob Herring }; 25724ba675SRob Herring 26724ba675SRob Herring sound { 27724ba675SRob Herring compatible = "fsl,imx-audio-sgtl5000"; 28724ba675SRob Herring model = "imx6ul-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&i2c2 { 46724ba675SRob Herring clock-frequency = <100000>; 47724ba675SRob Herring pinctrl-names = "default"; 48724ba675SRob Herring pinctrl-0 = <&pinctrl_i2c2>; 49724ba675SRob Herring status = "okay"; 50724ba675SRob Herring 51724ba675SRob Herring sgtl5000: 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 = <®_2p5v>; 57724ba675SRob Herring VDDIO-supply = <®_3p3v>; 58724ba675SRob Herring }; 59724ba675SRob Herring}; 60724ba675SRob Herring 61724ba675SRob Herring&i2c3 { 62724ba675SRob Herring clock-frequency = <100000>; 63724ba675SRob Herring pinctrl-names = "default"; 64724ba675SRob Herring pinctrl-0 = <&pinctrl_i2c3>; 65724ba675SRob Herring status = "okay"; 66724ba675SRob Herring 67724ba675SRob Herring polytouch: touchscreen@38 { 68724ba675SRob Herring compatible = "edt,edt-ft5x06"; 69724ba675SRob Herring reg = <0x38>; 70724ba675SRob Herring interrupt-parent = <&gpio1>; 71724ba675SRob Herring interrupts = <29 IRQ_TYPE_EDGE_FALLING>; 72724ba675SRob Herring reset-gpios = <&gpio4 24 GPIO_ACTIVE_LOW>; 73724ba675SRob Herring touchscreen-size-x = <800>; 74724ba675SRob Herring touchscreen-size-y = <480>; 75724ba675SRob Herring }; 76724ba675SRob Herring}; 77724ba675SRob Herring 78724ba675SRob Herring&iomuxc { 79724ba675SRob Herring pinctrl-names = "default"; 80724ba675SRob Herring pinctrl-0 = <&pinctrl_hog>; 81724ba675SRob Herring 82724ba675SRob Herring pinctrl_hog: hoggrp { 83724ba675SRob Herring fsl,pins = < 84724ba675SRob Herring MX6UL_PAD_CSI_VSYNC__GPIO4_IO19 0x10b0 85724ba675SRob Herring MX6UL_PAD_CSI_DATA00__GPIO4_IO21 0x10b0 86724ba675SRob Herring MX6UL_PAD_CSI_DATA01__GPIO4_IO22 0x10b0 87724ba675SRob Herring MX6UL_PAD_CSI_DATA02__GPIO4_IO23 0x10b0 88724ba675SRob Herring MX6UL_PAD_UART1_CTS_B__GPIO1_IO18 0x10b0 89724ba675SRob Herring MX6UL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x10b0 90724ba675SRob Herring >; 91724ba675SRob Herring }; 92724ba675SRob Herring 93724ba675SRob Herring pinctrl_gpio_leds: gpioledsgrp { 94724ba675SRob Herring fsl,pins = < 95724ba675SRob Herring MX6UL_PAD_CSI_HSYNC__GPIO4_IO20 0x10b0 96724ba675SRob Herring >; 97724ba675SRob Herring }; 98724ba675SRob Herring}; 99