summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/files/simc-t10xx_device_tree_addition.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/linux/files/simc-t10xx_device_tree_addition.patch')
-rwxr-xr-xrecipes-kernel/linux/files/simc-t10xx_device_tree_addition.patch47
1 files changed, 30 insertions, 17 deletions
diff --git a/recipes-kernel/linux/files/simc-t10xx_device_tree_addition.patch b/recipes-kernel/linux/files/simc-t10xx_device_tree_addition.patch
index eebd9a6..eaf47c9 100755
--- a/recipes-kernel/linux/files/simc-t10xx_device_tree_addition.patch
+++ b/recipes-kernel/linux/files/simc-t10xx_device_tree_addition.patch
@@ -6,10 +6,10 @@ Subject: [PATCH] simc-t10xx_device_tree_patch
---
arch/powerpc/boot/dts/fsl/qoriq-i2c-0.dtsi | 4 +-
arch/powerpc/boot/dts/fsl/qoriq-i2c-1.dtsi | 4 +-
- arch/powerpc/boot/dts/fsl/simc-t1022.dts | 304 ++++++++++++++++++++++++++++
- arch/powerpc/boot/dts/fsl/simc-t1040.dts | 311 +++++++++++++++++++++++++++++
+ arch/powerpc/boot/dts/fsl/simc-t1022.dts | 307 ++++++++++++++++++++++++++++
+ arch/powerpc/boot/dts/fsl/simc-t1040.dts | 321 +++++++++++++++++++++++++++++
arch/powerpc/boot/dts/fsl/simc-t10xx.dtsi | 162 +++++++++++++++
- 5 files changed, 781 insertions(+), 4 deletions(-)
+ 5 files changed, 797 insertions(+), 4 deletions(-)
create mode 100644 arch/powerpc/boot/dts/fsl/simc-t1022.dts
create mode 100644 arch/powerpc/boot/dts/fsl/simc-t1040.dts
create mode 100644 arch/powerpc/boot/dts/fsl/simc-t10xx.dtsi
@@ -63,11 +63,11 @@ new file mode 100644
index 0000000..3fc75f0
--- /dev/null
+++ b/arch/powerpc/boot/dts/fsl/simc-t1022.dts
-@@ -0,0 +1,304 @@
+@@ -0,0 +1,307 @@
+/*
+ * Device tree for the SiMC-T1022 Module
+ *
-+ * Copyright 2016 Scalys B.V.
++ * Copyright 2017 Scalys B.V.
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
@@ -120,14 +120,12 @@ index 0000000..3fc75f0
+ sleep = <&rcpm 0x00000008>;
+
+ enet0: ethernet@e0000 {
-+ /*phy-handle = <&sgmii_aqr105_phy_s5>;*/
+ phy-connection-type = "sgmii";
+ fixed-link = <1 1 1000 0 0>;
+ sleep = <&rcpm 0x80000000>;
+ };
+
+ enet1: ethernet@e2000 {
-+ /*phy-handle = <&sgmii_aqr105_phy_s4>;*/
+ phy-connection-type = "sgmii";
+ fixed-link = <2 1 1000 0 0>;
+ sleep = <&rcpm 0x40000000>;
@@ -261,6 +259,11 @@ index 0000000..3fc75f0
+ compatible = "ti,ucd9224";
+ reg = <0x4e>;
+ };
++
++ emc2103: thermal@2d {
++ compatible = "microchip,emc2103";
++ reg = <0x2d>;
++ };
+
+ eeprom_module@50 {
+ compatible = "microchip,24c1024";
@@ -373,11 +376,11 @@ new file mode 100644
index 0000000..d3fc108
--- /dev/null
+++ b/arch/powerpc/boot/dts/fsl/simc-t1040.dts
-@@ -0,0 +1,311 @@
+@@ -0,0 +1,321 @@
+/*
+ * Device tree for the SiMC-T1040 Module
+ *
-+ * Copyright 2016 Scalys B.V.
++ * Copyright 2017 Scalys B.V.
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and
@@ -427,35 +430,37 @@ index 0000000..d3fc108
+ };
+
+ fman0: fman@400000 {
-+ sleep = <&rcpm 0x00000008>;
++ rcpm-wakeup = <&rcpm 0x00000008>;
+
+ enet0: ethernet@e0000 {
-+ status = "disabled";
++ phy-connection-type = "sgmii";
++ fixed-link = <1 1 1000 0 0>;
++ rcpm-wakeup = <&rcpm 0x80000000>;
+ };
+
+ enet1: ethernet@e2000 {
+ phy-connection-type = "sgmii";
+ fixed-link = <2 1 1000 0 0>;
-+ sleep = <&rcpm 0x40000000>;
++ rcpm-wakeup = <&rcpm 0x40000000>;
+ };
+
+ enet2: ethernet@e4000 {
+ phy-connection-type = "sgmii";
+ fixed-link = <3 1 1000 0 0>;
-+ sleep = <&rcpm 0x20000000>;
++ rcpm-wakeup = <&rcpm 0x20000000>;
+ };
+
+ enet3: ethernet@e6000 {
+ phy-handle = <&phy_rgmii_0>;
+ phy-connection-type = "rgmii";
-+ sleep = <&rcpm 0x10000000>;
++ rcpm-wakeup = <&rcpm 0x10000000>;
+ local-mac-address = [ ca fe ba be 00 01 ];
+ };
+
+ enet4: ethernet@e8000 {
+ phy-handle = <&phy_rgmii_1>;
+ phy-connection-type = "rgmii";
-+ sleep = <&rcpm 0x08000000>;
++ rcpm-wakeup = <&rcpm 0x08000000>;
+ local-mac-address = [ ca fe ba be 00 02 ];
+ };
+
@@ -502,7 +507,10 @@ index 0000000..d3fc108
+
+ fsl,dpaa {
+ compatible = "fsl,t1040-dpaa", "fsl,dpaa";
-+
++ ethernet@0 {
++ compatible = "fsl,t1040-dpa-ethernet", "fsl,dpa-ethernet";
++ fsl,fman-mac = <&enet0>;
++ };
+ ethernet@1 {
+ compatible = "fsl,t1040-dpa-ethernet", "fsl,dpa-ethernet";
+ fsl,fman-mac = <&enet1>;
@@ -590,6 +598,11 @@ index 0000000..d3fc108
+ compatible = "ti,ucd9224";
+ reg = <0x4e>;
+ };
++
++ emc2103: thermal@2d {
++ compatible = "microchip,emc2103";
++ reg = <0x2d>;
++ };
+
+ eeprom_module@50 {
+ compatible = "microchip,24c1024";
@@ -694,7 +707,7 @@ index 0000000..562cfc1
+/*
+ * Device tree for the SiMC-T10xx series Modules
+ *
-+ * Copyright 2016 Scalys B.V.
++ * Copyright 2017 Scalys B.V.
+ *
+ * This software is licensed under the terms of the GNU General Public
+ * License version 2, as published by the Free Software Foundation, and