summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx53-kp-hsc.dts
diff options
context:
space:
mode:
authorLukasz Majewski <lukma@denx.de>2018-06-12 15:32:08 +0200
committerShawn Guo <shawnguo@kernel.org>2018-06-17 14:54:42 +0800
commit52f2b531948db99c2dc5aaa8f81163c67921ed08 (patch)
treebb6d332372612ebb637e9fec453a26033d8192b3 /arch/arm/boot/dts/imx53-kp-hsc.dts
parent5ebc384a15e4a315d7b50576799653e2ec5402f7 (diff)
ARM: dts: imx53: Add support for imx53 HSC/DDC boards from K+P
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>
Diffstat (limited to 'arch/arm/boot/dts/imx53-kp-hsc.dts')
-rw-r--r--arch/arm/boot/dts/imx53-kp-hsc.dts52
1 files changed, 52 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx53-kp-hsc.dts b/arch/arm/boot/dts/imx53-kp-hsc.dts
new file mode 100644
index 000000000000..6e3d71baac0f
--- /dev/null
+++ b/arch/arm/boot/dts/imx53-kp-hsc.dts
@@ -0,0 +1,52 @@
+// 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";
+ };
+ };
+ };
+};