Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: imx6ull: Add support for PHYTEC phyBOARD-Segin with i.MX 6ULL

In addition to the PHYTEC phyCORE-i.MX 6UL the PHYTEC phyBOARD-Segin is
also available with the PHYTEC phyCORE-i.MX 6ULL. So this adds support
for this SOM and its baseboards.

It comes in a full featured option with either NAND flash or eMMC and in
a low cost option only available with NAND flash.

The hardware specs are:

- Full featured with NAND or eMMC:
* i.MX 6ULL Y2
* 512MB DDR3 memory
* 512MB NAND flash or 4GB/8GB eMMC
* Dual 10/100 Ethernet
* USB Host and USB OTG
* RS232
* MicroSD external storage
* Audio, RS232, I2C, SPI, CAN headers
* Further I/O options via A/V and Expansion headers

- Low cost with NAND:
* i.MX 6ULL Y0
* 256MB DDR3 memory
* 128MB NAND flash
* Single 10/100 Ethernet
* USB OTG
* RS232
* MicroSD external storage
* I2C
* Further I/O options via Expansion headers

Signed-off-by: Stefan Riedmueller <s.riedmueller@phytec.de>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>

authored by

Stefan Riedmueller and committed by
Shawn Guo
f4411786 9ae6390a

+315
+3
arch/arm/boot/dts/Makefile
··· 580 580 imx6ull-14x14-evk.dtb \ 581 581 imx6ull-colibri-eval-v3.dtb \ 582 582 imx6ull-colibri-wifi-eval-v3.dtb \ 583 + imx6ull-phytec-segin-ff-rdk-nand.dtb \ 584 + imx6ull-phytec-segin-ff-rdk-emmc.dtb \ 585 + imx6ull-phytec-segin-lc-rdk-nand.dtb \ 583 586 imx6ulz-14x14-evk.dtb 584 587 dtb-$(CONFIG_SOC_IMX7D) += \ 585 588 imx7d-cl-som-imx7.dtb \
+24
arch/arm/boot/dts/imx6ull-phytec-phycore-som.dtsi
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 + /* 3 + * Copyright (C) 2019 PHYTEC Messtechnik GmbH 4 + * Author: Stefan Riedmueller <s.riedmueller@phytec.de> 5 + */ 6 + 7 + #include "imx6ul-phytec-phycore-som.dtsi" 8 + 9 + / { 10 + model = "PHYTEC phyCORE-i.MX6 ULL"; 11 + compatible = "phytec,imx6ull-pcl063", "fsl,imx6ull"; 12 + }; 13 + 14 + &iomuxc { 15 + /delete-node/ gpioledssomgrp; 16 + }; 17 + 18 + &iomuxc_snvs { 19 + pinctrl_gpioleds_som: gpioledssomgrp { 20 + fsl,pins = < 21 + MX6ULL_PAD_SNVS_TAMPER4__GPIO5_IO04 0x0b0b0 22 + >; 23 + }; 24 + };
+93
arch/arm/boot/dts/imx6ull-phytec-segin-ff-rdk-emmc.dts
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 + /* 3 + * Copyright (C) 2019 PHYTEC Messtechnik GmbH 4 + * Author: Stefan Riedmueller <s.riedmueller@phytec.de> 5 + */ 6 + 7 + /dts-v1/; 8 + #include "imx6ull.dtsi" 9 + #include "imx6ull-phytec-phycore-som.dtsi" 10 + #include "imx6ull-phytec-segin.dtsi" 11 + #include "imx6ull-phytec-segin-peb-eval-01.dtsi" 12 + 13 + / { 14 + model = "PHYTEC phyBOARD-Segin i.MX6 ULL Full Featured with eMMC"; 15 + compatible = "phytec,imx6ull-pbacd10-emmc", "phytec,imx6ull-pbacd10", 16 + "phytec,imx6ull-pcl063","fsl,imx6ull"; 17 + }; 18 + 19 + &adc1 { 20 + status = "okay"; 21 + }; 22 + 23 + &can1 { 24 + status = "okay"; 25 + }; 26 + 27 + &tlv320 { 28 + status = "okay"; 29 + }; 30 + 31 + &ecspi3 { 32 + status = "okay"; 33 + }; 34 + 35 + &ethphy1 { 36 + status = "okay"; 37 + }; 38 + 39 + &ethphy2 { 40 + status = "okay"; 41 + }; 42 + 43 + &fec1 { 44 + status = "okay"; 45 + }; 46 + 47 + &fec2 { 48 + status = "okay"; 49 + }; 50 + 51 + &i2c_rtc { 52 + status = "okay"; 53 + }; 54 + 55 + &reg_can1_en { 56 + status = "okay"; 57 + }; 58 + 59 + &reg_sound_1v8 { 60 + status = "okay"; 61 + }; 62 + 63 + &reg_sound_3v3 { 64 + status = "okay"; 65 + }; 66 + 67 + &sai2 { 68 + status = "okay"; 69 + }; 70 + 71 + &sound { 72 + status = "okay"; 73 + }; 74 + 75 + &uart5 { 76 + status = "okay"; 77 + }; 78 + 79 + &usbotg1 { 80 + status = "okay"; 81 + }; 82 + 83 + &usbotg2 { 84 + status = "okay"; 85 + }; 86 + 87 + &usdhc1 { 88 + status = "okay"; 89 + }; 90 + 91 + &usdhc2 { 92 + status = "okay"; 93 + };
+93
arch/arm/boot/dts/imx6ull-phytec-segin-ff-rdk-nand.dts
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 + /* 3 + * Copyright (C) 2019 PHYTEC Messtechnik GmbH 4 + * Author: Stefan Riedmueller <s.riedmueller@phytec.de> 5 + */ 6 + 7 + /dts-v1/; 8 + #include "imx6ull.dtsi" 9 + #include "imx6ull-phytec-phycore-som.dtsi" 10 + #include "imx6ull-phytec-segin.dtsi" 11 + #include "imx6ull-phytec-segin-peb-eval-01.dtsi" 12 + 13 + / { 14 + model = "PHYTEC phyBOARD-Segin i.MX6 ULL Full Featured with NAND"; 15 + compatible = "phytec,imx6ull-pbacd10-nand", "phytec,imx6ull-pbacd10", 16 + "phytec,imx6ull-pcl063", "fsl,imx6ull"; 17 + }; 18 + 19 + &adc1 { 20 + status = "okay"; 21 + }; 22 + 23 + &can1 { 24 + status = "okay"; 25 + }; 26 + 27 + &tlv320 { 28 + status = "okay"; 29 + }; 30 + 31 + &ecspi3 { 32 + status = "okay"; 33 + }; 34 + 35 + &ethphy1 { 36 + status = "okay"; 37 + }; 38 + 39 + &ethphy2 { 40 + status = "okay"; 41 + }; 42 + 43 + &fec1 { 44 + status = "okay"; 45 + }; 46 + 47 + &fec2 { 48 + status = "okay"; 49 + }; 50 + 51 + &gpmi { 52 + status = "okay"; 53 + }; 54 + 55 + &i2c_rtc { 56 + status = "okay"; 57 + }; 58 + 59 + &reg_can1_en { 60 + status = "okay"; 61 + }; 62 + 63 + &reg_sound_1v8 { 64 + status = "okay"; 65 + }; 66 + 67 + &reg_sound_3v3 { 68 + status = "okay"; 69 + }; 70 + 71 + &sai2 { 72 + status = "okay"; 73 + }; 74 + 75 + &sound { 76 + status = "okay"; 77 + }; 78 + 79 + &uart5 { 80 + status = "okay"; 81 + }; 82 + 83 + &usbotg1 { 84 + status = "okay"; 85 + }; 86 + 87 + &usbotg2 { 88 + status = "okay"; 89 + }; 90 + 91 + &usdhc1 { 92 + status = "okay"; 93 + };
+45
arch/arm/boot/dts/imx6ull-phytec-segin-lc-rdk-nand.dts
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 + /* 3 + * Copyright (C) 2019 PHYTEC Messtechnik GmbH 4 + * Author: Stefan Riedmueller <s.riedmueller@phytec.de> 5 + */ 6 + 7 + /dts-v1/; 8 + #include "imx6ull.dtsi" 9 + #include "imx6ull-phytec-phycore-som.dtsi" 10 + #include "imx6ull-phytec-segin.dtsi" 11 + #include "imx6ull-phytec-segin-peb-eval-01.dtsi" 12 + 13 + / { 14 + model = "PHYTEC phyBOARD-Segin i.MX6 ULL Low Cost with NAND"; 15 + compatible = "phytec,imx6ull-pbacd10-nand", "phytec,imx6ull-pbacd10", 16 + "phytec,imx6ull-pcl063", "fsl,imx6ull"; 17 + }; 18 + 19 + &adc1 { 20 + status = "okay"; 21 + }; 22 + 23 + &ethphy1 { 24 + status = "okay"; 25 + }; 26 + 27 + &fec1 { 28 + status = "okay"; 29 + }; 30 + 31 + &gpmi { 32 + status = "okay"; 33 + }; 34 + 35 + &i2c_rtc { 36 + status = "okay"; 37 + }; 38 + 39 + &usbotg1 { 40 + status = "okay"; 41 + }; 42 + 43 + &usdhc1 { 44 + status = "okay"; 45 + };
+19
arch/arm/boot/dts/imx6ull-phytec-segin-peb-eval-01.dtsi
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 + /* 3 + * Copyright (C) 2019 PHYTEC Messtechnik GmbH 4 + * Author: Stefan Riedmueller <s.riedmueller@phytec.de> 5 + */ 6 + 7 + #include "imx6ul-phytec-segin-peb-eval-01.dtsi" 8 + 9 + &iomuxc { 10 + /delete-node/ gpio_keysgrp; 11 + }; 12 + 13 + &iomuxc_snvs { 14 + pinctrl_gpio_keys: gpio_keysgrp { 15 + fsl,pins = < 16 + MX6ULL_PAD_SNVS_TAMPER0__GPIO5_IO00 0x79 17 + >; 18 + }; 19 + };
+38
arch/arm/boot/dts/imx6ull-phytec-segin.dtsi
··· 1 + // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 + /* 3 + * Copyright (C) 2019 PHYTEC Messtechnik GmbH 4 + * Author: Stefan Riedmueller <s.riedmueller@phytec.de> 5 + */ 6 + 7 + #include "imx6ul-phytec-segin.dtsi" 8 + 9 + / { 10 + model = "PHYTEC phyBOARD-Segin i.MX6 ULL"; 11 + compatible = "phytec,imx6ull-pbacd-10", "phytec,imx6ull-pcl063","fsl,imx6ull"; 12 + }; 13 + 14 + &iomuxc { 15 + /delete-node/ flexcan1engrp; 16 + /delete-node/ rtcintgrp; 17 + /delete-node/ stmpegrp; 18 + }; 19 + 20 + &iomuxc_snvs { 21 + princtrl_flexcan1_en: flexcan1engrp { 22 + fsl,pins = < 23 + MX6ULL_PAD_SNVS_TAMPER2__GPIO5_IO02 0x17059 24 + >; 25 + }; 26 + 27 + pinctrl_rtc_int: rtcintgrp { 28 + fsl,pins = < 29 + MX6ULL_PAD_SNVS_TAMPER1__GPIO5_IO01 0x17059 30 + >; 31 + }; 32 + 33 + pinctrl_stmpe: stmpegrp { 34 + fsl,pins = < 35 + MX6ULL_PAD_SNVS_TAMPER3__GPIO5_IO03 0x17059 36 + >; 37 + }; 38 + };