Browse Source

x86: baytrail: Add 'reg' property in the pinctrl node

Without a 'reg' property, pinctrl driver probe routine fails in
its pre_probe() with a return value of -EINVAL.

Add 'reg' property for all BayTrail boards. Note for BayleyBay,
the pinctrl node is newly added.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Bin Meng 9 years ago
parent
commit
e264e3cc5b

+ 5 - 0
arch/x86/dts/bayleybay.dts

@@ -65,6 +65,11 @@
 		};
 		};
 	};
 	};
 
 
+	pch_pinctrl {
+		compatible = "intel,x86-pinctrl";
+		reg = <0 0>;
+	};
+
 	pci {
 	pci {
 		compatible = "pci-x86";
 		compatible = "pci-x86";
 		#address-cells = <3>;
 		#address-cells = <3>;

+ 1 - 0
arch/x86/dts/conga-qeval20-qa3-e3845.dts

@@ -30,6 +30,7 @@
 
 
 	pch_pinctrl {
 	pch_pinctrl {
 		compatible = "intel,x86-pinctrl";
 		compatible = "intel,x86-pinctrl";
+		reg = <0 0>;
 	};
 	};
 
 
 	chosen {
 	chosen {

+ 1 - 0
arch/x86/dts/minnowmax.dts

@@ -29,6 +29,7 @@
 
 
 	pch_pinctrl {
 	pch_pinctrl {
 		compatible = "intel,x86-pinctrl";
 		compatible = "intel,x86-pinctrl";
+		reg = <0 0>;
 
 
 		/* GPIO E0 */
 		/* GPIO E0 */
 		soc_gpio_s5_0@0 {
 		soc_gpio_s5_0@0 {