mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 22:14:41 +08:00
52f2b53194
This commit provides support for HSC and DDC boards from Kieback&Peter GmbH vendor. Signed-off-by: Lukasz Majewski <lukma@denx.de> Reviewed-by: Fabio Estevam <fabio.estevam@nxp.com> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
53 lines
847 B
Plaintext
53 lines
847 B
Plaintext
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Copyright 2018
|
|
* Lukasz Majewski, DENX Software Engineering, lukma@denx.de
|
|
*/
|
|
|
|
/dts-v1/;
|
|
#include "imx53-kp.dtsi"
|
|
|
|
/ {
|
|
model = "K+P imx53 HSC";
|
|
compatible = "kiebackpeter,imx53-hsc", "fsl,imx53";
|
|
};
|
|
|
|
&fec {
|
|
status = "okay";
|
|
|
|
fixed-link { /* RMII fixed link to LAN9303 */
|
|
speed = <100>;
|
|
full-duplex;
|
|
};
|
|
};
|
|
|
|
&i2c3 {
|
|
switch: switch@a {
|
|
compatible = "smsc,lan9303-i2c";
|
|
reg = <0xa>;
|
|
reset-gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
|
|
reset-duration = <400>;
|
|
|
|
ports {
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
port@0 { /* RMII fixed link to master */
|
|
reg = <0>;
|
|
label = "cpu";
|
|
ethernet = <&fec>;
|
|
};
|
|
|
|
port@1 { /* external port 1 */
|
|
reg = <1>;
|
|
label = "lan1";
|
|
};
|
|
|
|
port@2 { /* external port 2 */
|
|
reg = <2>;
|
|
label = "lan2";
|
|
};
|
|
};
|
|
};
|
|
};
|