1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2f126890aSEmmanuel Vadot// 3f126890aSEmmanuel Vadot// Copyright 2017 NXP 4f126890aSEmmanuel Vadot 5f126890aSEmmanuel Vadot#include "imx7d-pico.dtsi" 6f126890aSEmmanuel Vadot 7f126890aSEmmanuel Vadot/ { 8f126890aSEmmanuel Vadot model = "TechNexion PICO-IMX7D Board and PI baseboard"; 9f126890aSEmmanuel Vadot compatible = "technexion,imx7d-pico-pi", "fsl,imx7d"; 10f126890aSEmmanuel Vadot 11f126890aSEmmanuel Vadot leds { 12f126890aSEmmanuel Vadot compatible = "gpio-leds"; 13f126890aSEmmanuel Vadot pinctrl-names = "default"; 14f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_gpio_leds>; 15f126890aSEmmanuel Vadot 16f126890aSEmmanuel Vadot led { 17f126890aSEmmanuel Vadot label = "gpio-led"; 18f126890aSEmmanuel Vadot gpios = <&gpio2 6 GPIO_ACTIVE_HIGH>; 19f126890aSEmmanuel Vadot }; 20f126890aSEmmanuel Vadot }; 21f126890aSEmmanuel Vadot 22f126890aSEmmanuel Vadot sound { 23f126890aSEmmanuel Vadot compatible = "simple-audio-card"; 24f126890aSEmmanuel Vadot simple-audio-card,name = "imx7-sgtl5000"; 25f126890aSEmmanuel Vadot simple-audio-card,format = "i2s"; 26f126890aSEmmanuel Vadot simple-audio-card,bitclock-master = <&dailink_master>; 27f126890aSEmmanuel Vadot simple-audio-card,frame-master = <&dailink_master>; 28f126890aSEmmanuel Vadot simple-audio-card,cpu { 29f126890aSEmmanuel Vadot sound-dai = <&sai1>; 30f126890aSEmmanuel Vadot }; 31f126890aSEmmanuel Vadot 32f126890aSEmmanuel Vadot dailink_master: simple-audio-card,codec { 33f126890aSEmmanuel Vadot sound-dai = <&sgtl5000>; 34f126890aSEmmanuel Vadot clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>; 35f126890aSEmmanuel Vadot }; 36f126890aSEmmanuel Vadot }; 37f126890aSEmmanuel Vadot}; 38f126890aSEmmanuel Vadot 39f126890aSEmmanuel Vadot&i2c1 { 40f126890aSEmmanuel Vadot sgtl5000: codec@a { 41f126890aSEmmanuel Vadot #sound-dai-cells = <0>; 42f126890aSEmmanuel Vadot reg = <0x0a>; 43f126890aSEmmanuel Vadot compatible = "fsl,sgtl5000"; 44f126890aSEmmanuel Vadot clocks = <&clks IMX7D_AUDIO_MCLK_ROOT_DIV>; 45f126890aSEmmanuel Vadot VDDA-supply = <®_2p5v>; 46f126890aSEmmanuel Vadot VDDIO-supply = <®_vref_1v8>; 47f126890aSEmmanuel Vadot }; 48f126890aSEmmanuel Vadot}; 49f126890aSEmmanuel Vadot 50f126890aSEmmanuel Vadot&i2c4 { 51f126890aSEmmanuel Vadot polytouch: touchscreen@38 { 52f126890aSEmmanuel Vadot compatible = "edt,edt-ft5x06"; 53f126890aSEmmanuel Vadot reg = <0x38>; 54f126890aSEmmanuel Vadot pinctrl-names = "default"; 55f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_touchscreen>; 56f126890aSEmmanuel Vadot interrupt-parent = <&gpio2>; 57f126890aSEmmanuel Vadot interrupts = <13 IRQ_TYPE_EDGE_FALLING>; 58f126890aSEmmanuel Vadot reset-gpios = <&gpio2 4 GPIO_ACTIVE_LOW>; 59f126890aSEmmanuel Vadot touchscreen-size-x = <800>; 60f126890aSEmmanuel Vadot touchscreen-size-y = <480>; 61f126890aSEmmanuel Vadot }; 62f126890aSEmmanuel Vadot}; 63f126890aSEmmanuel Vadot 64*84943d6fSEmmanuel Vadot&usdhc1 { 65*84943d6fSEmmanuel Vadot status = "disabled"; 66*84943d6fSEmmanuel Vadot}; 67*84943d6fSEmmanuel Vadot 68f126890aSEmmanuel Vadot&iomuxc { 69f126890aSEmmanuel Vadot pinctrl-names = "default"; 70f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_hog>; 71f126890aSEmmanuel Vadot 72f126890aSEmmanuel Vadot pinctrl_hog: hoggrp { 73f126890aSEmmanuel Vadot fsl,pins = < 74f126890aSEmmanuel Vadot MX7D_PAD_EPDC_DATA00__GPIO2_IO0 0x14 75f126890aSEmmanuel Vadot MX7D_PAD_EPDC_DATA01__GPIO2_IO1 0x14 76f126890aSEmmanuel Vadot MX7D_PAD_EPDC_DATA02__GPIO2_IO2 0x14 77f126890aSEmmanuel Vadot MX7D_PAD_EPDC_DATA03__GPIO2_IO3 0x14 78f126890aSEmmanuel Vadot MX7D_PAD_EPDC_DATA05__GPIO2_IO5 0x14 79f126890aSEmmanuel Vadot MX7D_PAD_EPDC_DATA12__GPIO2_IO12 0x14 80f126890aSEmmanuel Vadot MX7D_PAD_EPDC_DATA07__GPIO2_IO7 0x14 81f126890aSEmmanuel Vadot >; 82f126890aSEmmanuel Vadot }; 83f126890aSEmmanuel Vadot 84f126890aSEmmanuel Vadot pinctrl_gpio_leds: gpioledsgrp { 85f126890aSEmmanuel Vadot fsl,pins = < 86f126890aSEmmanuel Vadot MX7D_PAD_EPDC_DATA06__GPIO2_IO6 0x14 87f126890aSEmmanuel Vadot >; 88f126890aSEmmanuel Vadot }; 89f126890aSEmmanuel Vadot 90f126890aSEmmanuel Vadot pinctrl_touchscreen: touchscreengrp { 91f126890aSEmmanuel Vadot fsl,pins = < 92f126890aSEmmanuel Vadot MX7D_PAD_EPDC_DATA04__GPIO2_IO4 0x14 93f126890aSEmmanuel Vadot MX7D_PAD_EPDC_DATA13__GPIO2_IO13 0x14 94f126890aSEmmanuel Vadot >; 95f126890aSEmmanuel Vadot }; 96f126890aSEmmanuel Vadot 97f126890aSEmmanuel Vadot}; 98