xref: /freebsd/sys/contrib/device-tree/src/arm/nxp/imx/imx53-kp-hsc.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright 2018
4*f126890aSEmmanuel Vadot * Lukasz Majewski, DENX Software Engineering, lukma@denx.de
5*f126890aSEmmanuel Vadot */
6*f126890aSEmmanuel Vadot
7*f126890aSEmmanuel Vadot/dts-v1/;
8*f126890aSEmmanuel Vadot#include "imx53-kp.dtsi"
9*f126890aSEmmanuel Vadot
10*f126890aSEmmanuel Vadot/ {
11*f126890aSEmmanuel Vadot	model = "K+P imx53 HSC";
12*f126890aSEmmanuel Vadot	compatible = "kiebackpeter,imx53-hsc", "fsl,imx53";
13*f126890aSEmmanuel Vadot};
14*f126890aSEmmanuel Vadot
15*f126890aSEmmanuel Vadot&fec {
16*f126890aSEmmanuel Vadot	status = "okay";
17*f126890aSEmmanuel Vadot
18*f126890aSEmmanuel Vadot	fixed-link { /* RMII fixed link to LAN9303 */
19*f126890aSEmmanuel Vadot		speed = <100>;
20*f126890aSEmmanuel Vadot		full-duplex;
21*f126890aSEmmanuel Vadot	};
22*f126890aSEmmanuel Vadot};
23*f126890aSEmmanuel Vadot
24*f126890aSEmmanuel Vadot&i2c3 {
25*f126890aSEmmanuel Vadot	switch: switch@a {
26*f126890aSEmmanuel Vadot		compatible = "smsc,lan9303-i2c";
27*f126890aSEmmanuel Vadot		reg = <0xa>;
28*f126890aSEmmanuel Vadot		reset-gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
29*f126890aSEmmanuel Vadot		reset-duration = <400>;
30*f126890aSEmmanuel Vadot
31*f126890aSEmmanuel Vadot		ports {
32*f126890aSEmmanuel Vadot			#address-cells = <1>;
33*f126890aSEmmanuel Vadot			#size-cells = <0>;
34*f126890aSEmmanuel Vadot
35*f126890aSEmmanuel Vadot			port@0 { /* RMII fixed link to master */
36*f126890aSEmmanuel Vadot				reg = <0>;
37*f126890aSEmmanuel Vadot				label = "cpu";
38*f126890aSEmmanuel Vadot				ethernet = <&fec>;
39*f126890aSEmmanuel Vadot			};
40*f126890aSEmmanuel Vadot
41*f126890aSEmmanuel Vadot			port@1 { /* external port 1 */
42*f126890aSEmmanuel Vadot				reg = <1>;
43*f126890aSEmmanuel Vadot				label = "lan1";
44*f126890aSEmmanuel Vadot			};
45*f126890aSEmmanuel Vadot
46*f126890aSEmmanuel Vadot			port@2 { /* external port 2 */
47*f126890aSEmmanuel Vadot				reg = <2>;
48*f126890aSEmmanuel Vadot				label = "lan2";
49*f126890aSEmmanuel Vadot			};
50*f126890aSEmmanuel Vadot		};
51*f126890aSEmmanuel Vadot	};
52*f126890aSEmmanuel Vadot};
53