[linux-yocto] [PATCH 02/10] axxia: Update the Simulation Device Trees
Daniel Dragomir
daniel.dragomir at windriver.com
Tue May 17 15:50:38 PDT 2016
From: John Jacques <john.jacques at intel.com>
Add nemac and mdio support to the axm5604 simulation device tree
and bring the axm5608 and axm5616 simulation device trees up to
date with axm5604.
Signed-off-by: John Jacques <john.jacques at intel.com>
---
arch/arm64/boot/dts/intel/axm5604-sim.dts | 18 ++++++++++++++++-
arch/arm64/boot/dts/intel/axm5608-sim.dts | 33 +++++++++++++++++++++----------
arch/arm64/boot/dts/intel/axm5616-sim.dts | 30 +++++++++++++++++++---------
3 files changed, 61 insertions(+), 20 deletions(-)
diff --git a/arch/arm64/boot/dts/intel/axm5604-sim.dts b/arch/arm64/boot/dts/intel/axm5604-sim.dts
index 969cf5b..1705339 100644
--- a/arch/arm64/boot/dts/intel/axm5604-sim.dts
+++ b/arch/arm64/boot/dts/intel/axm5604-sim.dts
@@ -1,7 +1,7 @@
/*
* arch/arm64/boot/dts/intel/axm5604-sim.dts
*
- * Copyright (C) 2013 LSI
+ * Copyright (C) 2013 Intel
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -72,6 +72,22 @@
status = "okay";
};
+&nemac {
+ status = "okay";
+ phy-handle = <&phy0>;
+};
+
+&mdio {
+ status = "okay";
+ lsi,mdio-clk-offset = <0x5>;
+ lsi,mdio-clk-period = <0xc>;
+ max-speed = <10>;
+
+ phy0: ethernet-phy at 3 {
+ reg = <0x3>;
+ };
+};
+
&gpio0 {
status = "okay";
};
diff --git a/arch/arm64/boot/dts/intel/axm5608-sim.dts b/arch/arm64/boot/dts/intel/axm5608-sim.dts
index 20d486c..eda277c 100644
--- a/arch/arm64/boot/dts/intel/axm5608-sim.dts
+++ b/arch/arm64/boot/dts/intel/axm5608-sim.dts
@@ -1,7 +1,7 @@
/*
- * arch/arm64/boot/dts/intel/axm5604-sim.dts
+ * arch/arm64/boot/dts/intel/axm5608-sim.dts
*
- * Copyright (C) 2013 LSI
+ * Copyright (C) 2013 Intel
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -72,6 +72,22 @@
status = "okay";
};
+&nemac {
+ status = "okay";
+ phy-handle = <&phy0>;
+};
+
+&mdio {
+ status = "okay";
+ lsi,mdio-clk-offset = <0x5>;
+ lsi,mdio-clk-period = <0xc>;
+ max-speed = <10>;
+
+ phy0: ethernet-phy at 3 {
+ reg = <0x3>;
+ };
+};
+
&gpio0 {
status = "okay";
};
@@ -82,14 +98,7 @@
&spi0 {
status = "okay";
- icm at 0 {
- #address-cells = <0x1>;
- #size-cells = <0x1>;
- compatible = "spidev";
- reg = <0x1>;
- spi-max-frequency = <0xf4240>;
- pl022,com-mode = <0x1>;
- };
+
flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -144,3 +153,7 @@
&pci2 {
status = "okay";
};
+
+&usb0 {
+ status = "okay";
+};
diff --git a/arch/arm64/boot/dts/intel/axm5616-sim.dts b/arch/arm64/boot/dts/intel/axm5616-sim.dts
index f8ade3c..6828edb 100644
--- a/arch/arm64/boot/dts/intel/axm5616-sim.dts
+++ b/arch/arm64/boot/dts/intel/axm5616-sim.dts
@@ -1,7 +1,7 @@
/*
* arch/arm64/boot/dts/intel/axm5616-sim.dts
*
- * Copyright (C) 2013 LSI
+ * Copyright (C) 2013 Intel
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -72,6 +72,22 @@
status = "okay";
};
+&nemac {
+ status = "okay";
+ phy-handle = <&phy0>;
+};
+
+&mdio {
+ status = "okay";
+ lsi,mdio-clk-offset = <0x5>;
+ lsi,mdio-clk-period = <0xc>;
+ max-speed = <10>;
+
+ phy0: ethernet-phy at 3 {
+ reg = <0x3>;
+ };
+};
+
&gpio0 {
status = "okay";
};
@@ -83,14 +99,6 @@
&spi0 {
status = "okay";
- icm at 0 {
- #address-cells = <0x1>;
- #size-cells = <0x1>;
- compatible = "spidev";
- reg = <0x1>;
- spi-max-frequency = <0xf4240>;
- pl022,com-mode = <0x1>;
- };
flash at 0 {
#address-cells = <1>;
#size-cells = <1>;
@@ -145,3 +153,7 @@
&pci2 {
status = "okay";
};
+
+&usb0 {
+ status = "okay";
+};
--
1.9.1
More information about the linux-yocto
mailing list