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