1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Copyright (C) 2017 exceet electronics GmbH 4*f126890aSEmmanuel Vadot * Copyright (C) 2018 Kontron Electronics GmbH 5*f126890aSEmmanuel Vadot * Copyright (c) 2019 Krzysztof Kozlowski <krzk@kernel.org> 6*f126890aSEmmanuel Vadot */ 7*f126890aSEmmanuel Vadot 8*f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h> 9*f126890aSEmmanuel Vadot 10*f126890aSEmmanuel Vadot/ { 11*f126890aSEmmanuel Vadot chosen { 12*f126890aSEmmanuel Vadot stdout-path = &uart4; 13*f126890aSEmmanuel Vadot }; 14*f126890aSEmmanuel Vadot 15*f126890aSEmmanuel Vadot memory@80000000 { 16*f126890aSEmmanuel Vadot reg = <0x80000000 0x10000000>; 17*f126890aSEmmanuel Vadot device_type = "memory"; 18*f126890aSEmmanuel Vadot }; 19*f126890aSEmmanuel Vadot}; 20*f126890aSEmmanuel Vadot 21*f126890aSEmmanuel Vadot&ecspi2 { 22*f126890aSEmmanuel Vadot cs-gpios = <&gpio4 22 GPIO_ACTIVE_LOW>; 23*f126890aSEmmanuel Vadot pinctrl-names = "default"; 24*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_ecspi2>; 25*f126890aSEmmanuel Vadot status = "okay"; 26*f126890aSEmmanuel Vadot 27*f126890aSEmmanuel Vadot flash@0 { 28*f126890aSEmmanuel Vadot compatible = "mxicy,mx25v8035f", "jedec,spi-nor"; 29*f126890aSEmmanuel Vadot spi-max-frequency = <50000000>; 30*f126890aSEmmanuel Vadot reg = <0>; 31*f126890aSEmmanuel Vadot }; 32*f126890aSEmmanuel Vadot}; 33*f126890aSEmmanuel Vadot 34*f126890aSEmmanuel Vadot&fec1 { 35*f126890aSEmmanuel Vadot pinctrl-names = "default"; 36*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_enet1 &pinctrl_enet1_mdio>; 37*f126890aSEmmanuel Vadot phy-mode = "rmii"; 38*f126890aSEmmanuel Vadot phy-handle = <ðphy1>; 39*f126890aSEmmanuel Vadot status = "okay"; 40*f126890aSEmmanuel Vadot 41*f126890aSEmmanuel Vadot mdio { 42*f126890aSEmmanuel Vadot #address-cells = <1>; 43*f126890aSEmmanuel Vadot #size-cells = <0>; 44*f126890aSEmmanuel Vadot 45*f126890aSEmmanuel Vadot ethphy1: ethernet-phy@1 { 46*f126890aSEmmanuel Vadot reg = <1>; 47*f126890aSEmmanuel Vadot micrel,led-mode = <0>; 48*f126890aSEmmanuel Vadot clocks = <&clks IMX6UL_CLK_ENET_REF>; 49*f126890aSEmmanuel Vadot clock-names = "rmii-ref"; 50*f126890aSEmmanuel Vadot }; 51*f126890aSEmmanuel Vadot }; 52*f126890aSEmmanuel Vadot}; 53*f126890aSEmmanuel Vadot 54*f126890aSEmmanuel Vadot&fec2 { 55*f126890aSEmmanuel Vadot phy-mode = "rmii"; 56*f126890aSEmmanuel Vadot status = "disabled"; 57*f126890aSEmmanuel Vadot}; 58*f126890aSEmmanuel Vadot 59*f126890aSEmmanuel Vadot&qspi { 60*f126890aSEmmanuel Vadot pinctrl-names = "default"; 61*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_qspi>; 62*f126890aSEmmanuel Vadot status = "okay"; 63*f126890aSEmmanuel Vadot 64*f126890aSEmmanuel Vadot spi-flash@0 { 65*f126890aSEmmanuel Vadot #address-cells = <1>; 66*f126890aSEmmanuel Vadot #size-cells = <1>; 67*f126890aSEmmanuel Vadot compatible = "spi-nand"; 68*f126890aSEmmanuel Vadot spi-max-frequency = <104000000>; 69*f126890aSEmmanuel Vadot spi-tx-bus-width = <4>; 70*f126890aSEmmanuel Vadot spi-rx-bus-width = <4>; 71*f126890aSEmmanuel Vadot reg = <0>; 72*f126890aSEmmanuel Vadot }; 73*f126890aSEmmanuel Vadot}; 74*f126890aSEmmanuel Vadot 75*f126890aSEmmanuel Vadot&wdog1 { 76*f126890aSEmmanuel Vadot pinctrl-names = "default"; 77*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_wdog>; 78*f126890aSEmmanuel Vadot fsl,ext-reset-output; 79*f126890aSEmmanuel Vadot status = "okay"; 80*f126890aSEmmanuel Vadot}; 81*f126890aSEmmanuel Vadot 82*f126890aSEmmanuel Vadot&iomuxc { 83*f126890aSEmmanuel Vadot pinctrl-names = "default"; 84*f126890aSEmmanuel Vadot pinctrl-0 = <&pinctrl_reset_out>; 85*f126890aSEmmanuel Vadot 86*f126890aSEmmanuel Vadot pinctrl_ecspi2: ecspi2grp { 87*f126890aSEmmanuel Vadot fsl,pins = < 88*f126890aSEmmanuel Vadot MX6UL_PAD_CSI_DATA03__ECSPI2_MISO 0x100b1 89*f126890aSEmmanuel Vadot MX6UL_PAD_CSI_DATA02__ECSPI2_MOSI 0x100b1 90*f126890aSEmmanuel Vadot MX6UL_PAD_CSI_DATA00__ECSPI2_SCLK 0x100b1 91*f126890aSEmmanuel Vadot MX6UL_PAD_CSI_DATA01__GPIO4_IO22 0x100b1 92*f126890aSEmmanuel Vadot >; 93*f126890aSEmmanuel Vadot }; 94*f126890aSEmmanuel Vadot 95*f126890aSEmmanuel Vadot pinctrl_enet1: enet1grp { 96*f126890aSEmmanuel Vadot fsl,pins = < 97*f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_RX_EN__ENET1_RX_EN 0x1b0b0 98*f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_RX_ER__ENET1_RX_ER 0x1b0b0 99*f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_RX_DATA0__ENET1_RDATA00 0x1b0b0 100*f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_RX_DATA1__ENET1_RDATA01 0x1b0b0 101*f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_TX_EN__ENET1_TX_EN 0x1b0b0 102*f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_TX_DATA0__ENET1_TDATA00 0x1b0b0 103*f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_TX_DATA1__ENET1_TDATA01 0x1b0b0 104*f126890aSEmmanuel Vadot MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1 0x4001b009 105*f126890aSEmmanuel Vadot >; 106*f126890aSEmmanuel Vadot }; 107*f126890aSEmmanuel Vadot 108*f126890aSEmmanuel Vadot pinctrl_enet1_mdio: enet1mdiogrp { 109*f126890aSEmmanuel Vadot fsl,pins = < 110*f126890aSEmmanuel Vadot MX6UL_PAD_GPIO1_IO07__ENET1_MDC 0x1b0b0 111*f126890aSEmmanuel Vadot MX6UL_PAD_GPIO1_IO06__ENET1_MDIO 0x1b0b0 112*f126890aSEmmanuel Vadot >; 113*f126890aSEmmanuel Vadot }; 114*f126890aSEmmanuel Vadot 115*f126890aSEmmanuel Vadot pinctrl_qspi: qspigrp { 116*f126890aSEmmanuel Vadot fsl,pins = < 117*f126890aSEmmanuel Vadot MX6UL_PAD_NAND_WP_B__QSPI_A_SCLK 0x70a1 118*f126890aSEmmanuel Vadot MX6UL_PAD_NAND_READY_B__QSPI_A_DATA00 0x70a1 119*f126890aSEmmanuel Vadot MX6UL_PAD_NAND_CE0_B__QSPI_A_DATA01 0x70a1 120*f126890aSEmmanuel Vadot MX6UL_PAD_NAND_CE1_B__QSPI_A_DATA02 0x70a1 121*f126890aSEmmanuel Vadot MX6UL_PAD_NAND_CLE__QSPI_A_DATA03 0x70a1 122*f126890aSEmmanuel Vadot MX6UL_PAD_NAND_DQS__QSPI_A_SS0_B 0x70a1 123*f126890aSEmmanuel Vadot >; 124*f126890aSEmmanuel Vadot }; 125*f126890aSEmmanuel Vadot 126*f126890aSEmmanuel Vadot pinctrl_reset_out: rstoutgrp { 127*f126890aSEmmanuel Vadot fsl,pins = < 128*f126890aSEmmanuel Vadot MX6UL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x1b0b0 129*f126890aSEmmanuel Vadot >; 130*f126890aSEmmanuel Vadot }; 131*f126890aSEmmanuel Vadot 132*f126890aSEmmanuel Vadot pinctrl_wdog: wdoggrp { 133*f126890aSEmmanuel Vadot fsl,pins = < 134*f126890aSEmmanuel Vadot MX6UL_PAD_GPIO1_IO09__WDOG1_WDOG_ANY 0x18b0 135*f126890aSEmmanuel Vadot >; 136*f126890aSEmmanuel Vadot }; 137*f126890aSEmmanuel Vadot}; 138