xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/imx6ull-engicam-microgea.dtsi (revision 833e5d42ab135b0238e61c5b3c19b8619677cbfa)
1*833e5d42SEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*833e5d42SEmmanuel Vadot/*
3*833e5d42SEmmanuel Vadot * Copyright (C) 2025 Amarula Solutions, Dario Binacchi <dario.binacchi@amarulasolutions.com>
4*833e5d42SEmmanuel Vadot * Copyright (C) 2025 Engicam srl
5*833e5d42SEmmanuel Vadot */
6*833e5d42SEmmanuel Vadot
7*833e5d42SEmmanuel Vadot/dts-v1/;
8*833e5d42SEmmanuel Vadot
9*833e5d42SEmmanuel Vadot #include "imx6ull.dtsi"
10*833e5d42SEmmanuel Vadot
11*833e5d42SEmmanuel Vadot/ {
12*833e5d42SEmmanuel Vadot	compatible = "engicam,microgea-imx6ull", "fsl,imx6ull";
13*833e5d42SEmmanuel Vadot
14*833e5d42SEmmanuel Vadot	memory@80000000 {
15*833e5d42SEmmanuel Vadot		device_type = "memory";
16*833e5d42SEmmanuel Vadot		reg = <0x80000000 0x20000000>;
17*833e5d42SEmmanuel Vadot	};
18*833e5d42SEmmanuel Vadot};
19*833e5d42SEmmanuel Vadot
20*833e5d42SEmmanuel Vadot&fec1 {
21*833e5d42SEmmanuel Vadot	pinctrl-names = "default";
22*833e5d42SEmmanuel Vadot	pinctrl-0 = <&pinctrl_enet1>, <&pinctrl_phy_reset>;
23*833e5d42SEmmanuel Vadot	phy-mode = "rmii";
24*833e5d42SEmmanuel Vadot	phy-handle = <&ethphy0>;
25*833e5d42SEmmanuel Vadot	local-mac-address = [00 00 00 00 00 00];
26*833e5d42SEmmanuel Vadot	status = "okay";
27*833e5d42SEmmanuel Vadot
28*833e5d42SEmmanuel Vadot	mdio {
29*833e5d42SEmmanuel Vadot		#address-cells = <1>;
30*833e5d42SEmmanuel Vadot		#size-cells = <0>;
31*833e5d42SEmmanuel Vadot
32*833e5d42SEmmanuel Vadot		ethphy0: ethernet-phy@0 {
33*833e5d42SEmmanuel Vadot			compatible = "ethernet-phy-ieee802.3-c22";
34*833e5d42SEmmanuel Vadot			reg = <0>;
35*833e5d42SEmmanuel Vadot			reset-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
36*833e5d42SEmmanuel Vadot			reset-assert-us = <4000>;
37*833e5d42SEmmanuel Vadot			reset-deassert-us = <4000>;
38*833e5d42SEmmanuel Vadot		};
39*833e5d42SEmmanuel Vadot	};
40*833e5d42SEmmanuel Vadot};
41*833e5d42SEmmanuel Vadot
42*833e5d42SEmmanuel Vadot/* NAND */
43*833e5d42SEmmanuel Vadot&gpmi {
44*833e5d42SEmmanuel Vadot	pinctrl-names = "default";
45*833e5d42SEmmanuel Vadot	pinctrl-0 = <&pinctrl_gpmi_nand>;
46*833e5d42SEmmanuel Vadot	nand-ecc-mode = "hw";
47*833e5d42SEmmanuel Vadot	nand-ecc-strength = <0>;
48*833e5d42SEmmanuel Vadot	nand-ecc-step-size = <0>;
49*833e5d42SEmmanuel Vadot	nand-on-flash-bbt;
50*833e5d42SEmmanuel Vadot	status = "okay";
51*833e5d42SEmmanuel Vadot};
52*833e5d42SEmmanuel Vadot
53*833e5d42SEmmanuel Vadot&iomuxc {
54*833e5d42SEmmanuel Vadot	pinctrl_enet1: enet1grp {
55*833e5d42SEmmanuel Vadot		fsl,pins = <
56*833e5d42SEmmanuel Vadot			MX6UL_PAD_ENET1_RX_EN__ENET1_RX_EN	0x1b0b0
57*833e5d42SEmmanuel Vadot			MX6UL_PAD_ENET1_RX_DATA0__ENET1_RDATA00	0x1b0b0
58*833e5d42SEmmanuel Vadot			MX6UL_PAD_ENET1_RX_DATA1__ENET1_RDATA01	0x1b0b0
59*833e5d42SEmmanuel Vadot			MX6UL_PAD_ENET1_TX_EN__ENET1_TX_EN	0x1b0b0
60*833e5d42SEmmanuel Vadot			MX6UL_PAD_ENET1_TX_DATA0__ENET1_TDATA00	0x1b0b0
61*833e5d42SEmmanuel Vadot			MX6UL_PAD_ENET1_TX_DATA1__ENET1_TDATA01	0x1b0b0
62*833e5d42SEmmanuel Vadot			MX6UL_PAD_ENET1_TX_CLK__ENET1_REF_CLK1	0x4001b009
63*833e5d42SEmmanuel Vadot			MX6UL_PAD_GPIO1_IO07__ENET1_MDC		0x1b0b0
64*833e5d42SEmmanuel Vadot			MX6UL_PAD_GPIO1_IO06__ENET1_MDIO	0x1b0b0
65*833e5d42SEmmanuel Vadot		>;
66*833e5d42SEmmanuel Vadot	};
67*833e5d42SEmmanuel Vadot
68*833e5d42SEmmanuel Vadot	pinctrl_gpmi_nand: gpminandgrp {
69*833e5d42SEmmanuel Vadot		fsl,pins = <
70*833e5d42SEmmanuel Vadot			MX6UL_PAD_NAND_CLE__RAWNAND_CLE		0xb0b1
71*833e5d42SEmmanuel Vadot			MX6UL_PAD_NAND_ALE__RAWNAND_ALE		0xb0b1
72*833e5d42SEmmanuel Vadot			MX6UL_PAD_NAND_WP_B__RAWNAND_WP_B	0xb0b1
73*833e5d42SEmmanuel Vadot			MX6UL_PAD_NAND_READY_B__RAWNAND_READY_B	0xb000
74*833e5d42SEmmanuel Vadot			MX6UL_PAD_NAND_CE0_B__RAWNAND_CE0_B	0xb0b1
75*833e5d42SEmmanuel Vadot			MX6UL_PAD_NAND_RE_B__RAWNAND_RE_B	0xb0b1
76*833e5d42SEmmanuel Vadot			MX6UL_PAD_NAND_WE_B__RAWNAND_WE_B	0xb0b1
77*833e5d42SEmmanuel Vadot			MX6UL_PAD_NAND_DATA00__RAWNAND_DATA00	0xb0b1
78*833e5d42SEmmanuel Vadot			MX6UL_PAD_NAND_DATA01__RAWNAND_DATA01	0xb0b1
79*833e5d42SEmmanuel Vadot			MX6UL_PAD_NAND_DATA02__RAWNAND_DATA02	0xb0b1
80*833e5d42SEmmanuel Vadot			MX6UL_PAD_NAND_DATA03__RAWNAND_DATA03	0xb0b1
81*833e5d42SEmmanuel Vadot			MX6UL_PAD_NAND_DATA04__RAWNAND_DATA04	0xb0b1
82*833e5d42SEmmanuel Vadot			MX6UL_PAD_NAND_DATA05__RAWNAND_DATA05	0xb0b1
83*833e5d42SEmmanuel Vadot			MX6UL_PAD_NAND_DATA06__RAWNAND_DATA06	0xb0b1
84*833e5d42SEmmanuel Vadot			MX6UL_PAD_NAND_DATA07__RAWNAND_DATA07	0xb0b1
85*833e5d42SEmmanuel Vadot		>;
86*833e5d42SEmmanuel Vadot	};
87*833e5d42SEmmanuel Vadot};
88*833e5d42SEmmanuel Vadot
89*833e5d42SEmmanuel Vadot&iomuxc_snvs {
90*833e5d42SEmmanuel Vadot	pinctrl_phy_reset: phy-resetgrp {
91*833e5d42SEmmanuel Vadot		fsl,pins = <
92*833e5d42SEmmanuel Vadot			MX6ULL_PAD_SNVS_TAMPER9__GPIO5_IO09	0x1b0b0
93*833e5d42SEmmanuel Vadot		>;
94*833e5d42SEmmanuel Vadot	};
95*833e5d42SEmmanuel Vadot};
96