Skip to contentSkip to conversation

x86: Correct spi node alias

PATCH New Bin Meng 2 participants 3 messages Jan 27, 2016 – Jan 28, 2016 x86

lore
Share & tools
lore

Bin Meng

author
#0 lore raw

PATCH 1/1 x86: Correct spi node alias

With recent changes spi node was moved to a place as a subnode under pch, so update the alias to refer to its correct place as well.

---

 arch/x86/dts/bayleybay.dts          | 4 ++--
 arch/x86/dts/broadwell_som-6896.dts | 4 ++--
 arch/x86/dts/chromebook_link.dts    | 4 ++--
 arch/x86/dts/chromebox_panther.dts  | 4 ++--
 arch/x86/dts/crownbay.dts           | 4 ++--
 arch/x86/dts/galileo.dts            | 4 ++--
 arch/x86/dts/minnowmax.dts          | 4 ++--
 7 files changed, 14 insertions(+), 14 deletions(-)
arch/x86/dts/bayleybay.dts +2 -2
index 9bf707b..fbca467 100644
@@ -21,7 +21,7 @@
 
 	aliases {
 		serial0 = &serial;
-		spi0 = "/spi";
+		spi0 = &spi;
 	};
 
 	config {
@@ -184,7 +184,7 @@
 				>;
 			};
 
-			spi {
+			spi: spi {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				compatible = "intel,ich-spi";
arch/x86/dts/broadwell_som-6896.dts +2 -2
index 4e9e410..7b2c515 100644
@@ -10,7 +10,7 @@
 	compatible = "advantech,som-6896", "intel,broadwell";
 
 	aliases {
-		spi0 = "/spi";
+		spi0 = &spi;
 	};
 
 	config {
@@ -34,7 +34,7 @@
 			reg = <0x0000f800 0 0 0 0>;
 			compatible = "intel,pch9";
 
-			spi {
+			spi: spi {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				compatible = "intel,ich-spi";
arch/x86/dts/chromebook_link.dts +2 -2
index d148d6e..5807203 100644
@@ -11,7 +11,7 @@
 	compatible = "google,link", "intel,celeron-ivybridge";
 
 	aliases {
-		spi0 = "/pci/pch/spi";
+		spi0 = &spi;
 		usb0 = &usb_0;
 		usb1 = &usb_1;
 	};
@@ -252,7 +252,7 @@
 			/* Enable EC SMI source */
 			intel,alt-gp-smi-enable = <0x0100>;
 
-			spi {
+			spi: spi {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				compatible = "intel,ich-spi";
arch/x86/dts/chromebox_panther.dts +2 -2
index 2302701..48f0c77 100644
@@ -10,7 +10,7 @@
 	compatible = "google,panther", "intel,haswell";
 
 	aliases {
-		spi0 = "/spi";
+		spi0 = &spi;
 	};
 
 	config {
@@ -56,7 +56,7 @@
 			reg = <0x0000f800 0 0 0 0>;
 			compatible = "intel,pch9";
 
-			spi {
+			spi: spi {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				compatible = "intel,ich-spi";
arch/x86/dts/crownbay.dts +2 -2
index d6dd0b4..47fab0f 100644
@@ -19,7 +19,7 @@
 	compatible = "intel,crownbay", "intel,queensbay";
 
 	aliases {
-		spi0 = "/spi";
+		spi0 = &spi;
 	};
 
 	config {
@@ -227,7 +227,7 @@
 				>;
 			};
 
-			spi {
+			spi: spi {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				compatible = "intel,ich-spi";
arch/x86/dts/galileo.dts +2 -2
index a2f5a1f..dd75fc4 100644
@@ -18,7 +18,7 @@
 	compatible = "intel,galileo", "intel,quark";
 
 	aliases {
-		spi0 = "/spi";
+		spi0 = &spi;
 	};
 
 	config {
@@ -115,7 +115,7 @@
 				>;
 			};
 
-			spi {
+			spi: spi {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				compatible = "intel,ich-spi";
arch/x86/dts/minnowmax.dts +2 -2
index e7ef7c9..7afdf6c 100644
@@ -20,7 +20,7 @@
 
 	aliases {
 		serial0 = &serial;
-		spi0 = "/spi";
+		spi0 = &spi;
 	};
 
 	config {
@@ -218,7 +218,7 @@
 				>;
 			};
 
-			spi {
+			spi: spi {
 				#address-cells = <1>;
 				#size-cells = <0>;
 				compatible = "intel,ich-spi";
Signature · 1 line
1.8.2.1
#1 lore raw

PATCH 1/1 x86: Correct spi node alias

Quoted 6 lines · Bin Meng

With recent changes spi node was moved to a place as a subnode under pch, so update the alias to refer to its correct place as well.

---

Quoted 8 lines
 arch/x86/dts/bayleybay.dts          | 4 ++--
 arch/x86/dts/broadwell_som-6896.dts | 4 ++--
 arch/x86/dts/chromebook_link.dts    | 4 ++--
 arch/x86/dts/chromebox_panther.dts  | 4 ++--
 arch/x86/dts/crownbay.dts           | 4 ++--
 arch/x86/dts/galileo.dts            | 4 ++--
 arch/x86/dts/minnowmax.dts          | 4 ++--
 7 files changed, 14 insertions(+), 14 deletions(-)
author
#2 lore raw

PATCH 1/1 x86: Correct spi node alias

Quoted 16 lines · Simon Glass
Quoted 6 lines · Bin Meng

With recent changes spi node was moved to a place as a subnode under pch, so update the alias to refer to its correct place as well.

---

Quoted 8 lines
 arch/x86/dts/bayleybay.dts          | 4 ++--
 arch/x86/dts/broadwell_som-6896.dts | 4 ++--
 arch/x86/dts/chromebook_link.dts    | 4 ++--
 arch/x86/dts/chromebox_panther.dts  | 4 ++--
 arch/x86/dts/crownbay.dts           | 4 ++--
 arch/x86/dts/galileo.dts            | 4 ++--
 arch/x86/dts/minnowmax.dts          | 4 ++--
 7 files changed, 14 insertions(+), 14 deletions(-)
Quoted 1 line

applied to u-boot-x86/master, thanks!