xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/vf/vf610-cosmic.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright 2013 Freescale Semiconductor, Inc.
4*f126890aSEmmanuel Vadot * Copyright 2013 Linaro Limited
5*f126890aSEmmanuel Vadot */
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot/dts-v1/;
8*f126890aSEmmanuel Vadot#include "vf610.dtsi"
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot/ {
11*f126890aSEmmanuel Vadot	model = "PHYTEC Cosmic/Cosmic+ Board";
12*f126890aSEmmanuel Vadot	compatible = "phytec,vf610-cosmic", "fsl,vf610";
13*f126890aSEmmanuel Vadot
14*f126890aSEmmanuel Vadot	chosen {
15*f126890aSEmmanuel Vadot		bootargs = "console=ttyLP1,115200";
16*f126890aSEmmanuel Vadot	};
17*f126890aSEmmanuel Vadot
18*f126890aSEmmanuel Vadot	memory@80000000 {
19*f126890aSEmmanuel Vadot		device_type = "memory";
20*f126890aSEmmanuel Vadot		reg = <0x80000000 0x10000000>;
21*f126890aSEmmanuel Vadot	};
22*f126890aSEmmanuel Vadot
23*f126890aSEmmanuel Vadot	enet_ext: enet_ext {
24*f126890aSEmmanuel Vadot		compatible = "fixed-clock";
25*f126890aSEmmanuel Vadot		#clock-cells = <0>;
26*f126890aSEmmanuel Vadot		clock-frequency = <50000000>;
27*f126890aSEmmanuel Vadot	};
28*f126890aSEmmanuel Vadot};
29*f126890aSEmmanuel Vadot
30*f126890aSEmmanuel Vadot&clks {
31*f126890aSEmmanuel Vadot	clocks = <&sxosc>, <&fxosc>, <&enet_ext>;
32*f126890aSEmmanuel Vadot	clock-names = "sxosc", "fxosc", "enet_ext";
33*f126890aSEmmanuel Vadot};
34*f126890aSEmmanuel Vadot
35*f126890aSEmmanuel Vadot&esdhc1 {
36*f126890aSEmmanuel Vadot	pinctrl-names = "default";
37*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_esdhc1>;
38*f126890aSEmmanuel Vadot	bus-width = <4>;
39*f126890aSEmmanuel Vadot	status = "okay";
40*f126890aSEmmanuel Vadot};
41*f126890aSEmmanuel Vadot
42*f126890aSEmmanuel Vadot&fec1 {
43*f126890aSEmmanuel Vadot	phy-mode = "rmii";
44*f126890aSEmmanuel Vadot	pinctrl-names = "default";
45*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_fec1>;
46*f126890aSEmmanuel Vadot	status = "okay";
47*f126890aSEmmanuel Vadot};
48*f126890aSEmmanuel Vadot
49*f126890aSEmmanuel Vadot&iomuxc {
50*f126890aSEmmanuel Vadot	vf610-cosmic {
51*f126890aSEmmanuel Vadot		pinctrl_esdhc1: esdhc1grp {
52*f126890aSEmmanuel Vadot			fsl,pins = <
53*f126890aSEmmanuel Vadot				VF610_PAD_PTA24__ESDHC1_CLK	0x31ef
54*f126890aSEmmanuel Vadot				VF610_PAD_PTA25__ESDHC1_CMD	0x31ef
55*f126890aSEmmanuel Vadot				VF610_PAD_PTA26__ESDHC1_DAT0	0x31ef
56*f126890aSEmmanuel Vadot				VF610_PAD_PTA27__ESDHC1_DAT1	0x31ef
57*f126890aSEmmanuel Vadot				VF610_PAD_PTA28__ESDHC1_DATA2	0x31ef
58*f126890aSEmmanuel Vadot				VF610_PAD_PTA29__ESDHC1_DAT3	0x31ef
59*f126890aSEmmanuel Vadot				VF610_PAD_PTB28__GPIO_98	0x219d
60*f126890aSEmmanuel Vadot			>;
61*f126890aSEmmanuel Vadot		};
62*f126890aSEmmanuel Vadot
63*f126890aSEmmanuel Vadot		pinctrl_fec1: fec1grp {
64*f126890aSEmmanuel Vadot			fsl,pins = <
65*f126890aSEmmanuel Vadot				VF610_PAD_PTC9__ENET_RMII1_MDC		0x30d2
66*f126890aSEmmanuel Vadot				VF610_PAD_PTC10__ENET_RMII1_MDIO	0x30d3
67*f126890aSEmmanuel Vadot				VF610_PAD_PTC11__ENET_RMII1_CRS		0x30d1
68*f126890aSEmmanuel Vadot				VF610_PAD_PTC12__ENET_RMII1_RXD1	0x30d1
69*f126890aSEmmanuel Vadot				VF610_PAD_PTC13__ENET_RMII1_RXD0	0x30d1
70*f126890aSEmmanuel Vadot				VF610_PAD_PTC14__ENET_RMII1_RXER	0x30d1
71*f126890aSEmmanuel Vadot				VF610_PAD_PTC15__ENET_RMII1_TXD1	0x30d2
72*f126890aSEmmanuel Vadot				VF610_PAD_PTC16__ENET_RMII1_TXD0	0x30d2
73*f126890aSEmmanuel Vadot				VF610_PAD_PTC17__ENET_RMII1_TXEN	0x30d2
74*f126890aSEmmanuel Vadot			>;
75*f126890aSEmmanuel Vadot		};
76*f126890aSEmmanuel Vadot
77*f126890aSEmmanuel Vadot		pinctrl_uart1: uart1grp {
78*f126890aSEmmanuel Vadot			fsl,pins = <
79*f126890aSEmmanuel Vadot				VF610_PAD_PTB4__UART1_TX		0x21a2
80*f126890aSEmmanuel Vadot				VF610_PAD_PTB5__UART1_RX		0x21a1
81*f126890aSEmmanuel Vadot			>;
82*f126890aSEmmanuel Vadot		};
83*f126890aSEmmanuel Vadot	};
84*f126890aSEmmanuel Vadot};
85*f126890aSEmmanuel Vadot
86*f126890aSEmmanuel Vadot&uart1 {
87*f126890aSEmmanuel Vadot	pinctrl-names = "default";
88*f126890aSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart1>;
89*f126890aSEmmanuel Vadot	status = "okay";
90*f126890aSEmmanuel Vadot};
91