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