aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2016-01-17 19:55:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2016-01-17 19:55:04 +0000
commit3bfcab0247ef2a92806283933261f74b59fe6903 (patch)
tree82fbfd68933e8aaf7d4059d4fecc522b13aefb97 /target/linux
parent31145eff28cb929b3bc00781622dcc6596952f6c (diff)
downloadmaster-187ad058-3bfcab0247ef2a92806283933261f74b59fe6903.tar.gz
master-187ad058-3bfcab0247ef2a92806283933261f74b59fe6903.tar.bz2
master-187ad058-3bfcab0247ef2a92806283933261f74b59fe6903.zip
lantiq: Use the new pinctrl compatible strings
These were introduced in upstream commit be14811c03cf "pinctrl/lantiq: introduce new dedicated devicetree bindings" and finally allow us to use the individual pins within our dts (for example spi_clk, etc.). Please note that this changes the number of GPIOs which are available for some SoCs. VRX200 SoCs for example only have 50 pins, but previously 56 pins were exposed. This means that all places which are using hardcoded GPIO numbers (which are not passed via device-tree) need to be adjusted (because the first GPIO number is now 462, instead of 456). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48284 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/lantiq/dts/amazonse.dtsi2
-rw-r--r--target/linux/lantiq/dts/ar9.dtsi2
-rw-r--r--target/linux/lantiq/dts/danube.dtsi2
-rw-r--r--target/linux/lantiq/dts/vr9.dtsi2
4 files changed, 4 insertions, 4 deletions
diff --git a/target/linux/lantiq/dts/amazonse.dtsi b/target/linux/lantiq/dts/amazonse.dtsi
index 13d3e73860..5389446eba 100644
--- a/target/linux/lantiq/dts/amazonse.dtsi
+++ b/target/linux/lantiq/dts/amazonse.dtsi
@@ -90,7 +90,7 @@
};
gpio: pinmux@E100B10 {
- compatible = "lantiq,pinctrl-ase";
+ compatible = "lantiq,ase-pinctrl";
#gpio-cells = <2>;
gpio-controller;
reg = <0xE100B10 0xA0>;
diff --git a/target/linux/lantiq/dts/ar9.dtsi b/target/linux/lantiq/dts/ar9.dtsi
index ee4e374ca4..f69a7aea9d 100644
--- a/target/linux/lantiq/dts/ar9.dtsi
+++ b/target/linux/lantiq/dts/ar9.dtsi
@@ -101,7 +101,7 @@
};
gpio: pinmux@E100B10 {
- compatible = "lantiq,pinctrl-xr9";
+ compatible = "lantiq,xrx100-pinctrl";
#gpio-cells = <2>;
gpio-controller;
reg = <0xE100B10 0xA0>;
diff --git a/target/linux/lantiq/dts/danube.dtsi b/target/linux/lantiq/dts/danube.dtsi
index 698196d9ee..0a75fd9d45 100644
--- a/target/linux/lantiq/dts/danube.dtsi
+++ b/target/linux/lantiq/dts/danube.dtsi
@@ -123,7 +123,7 @@
};
gpio: pinmux@E100B10 {
- compatible = "lantiq,pinctrl-xway";
+ compatible = "lantiq,danube-pinctrl";
#gpio-cells = <2>;
gpio-controller;
reg = <0xE100B10 0xA0>;
diff --git a/target/linux/lantiq/dts/vr9.dtsi b/target/linux/lantiq/dts/vr9.dtsi
index df63ce7240..8f9635807e 100644
--- a/target/linux/lantiq/dts/vr9.dtsi
+++ b/target/linux/lantiq/dts/vr9.dtsi
@@ -113,7 +113,7 @@
};
gpio: pinmux@E100B10 {
- compatible = "lantiq,pinctrl-xr9";
+ compatible = "lantiq,xrx200-pinctrl";
#gpio-cells = <2>;
gpio-controller;
reg = <0xE100B10 0xA0>;