lantiq: Use the new pinctrl compatible strings
authorFelix Fietkau <nbd@openwrt.org>
Sun, 17 Jan 2016 19:55:04 +0000 (19:55 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 17 Jan 2016 19:55:04 +0000 (19:55 +0000)
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>
SVN-Revision: 48284

target/linux/lantiq/dts/amazonse.dtsi
target/linux/lantiq/dts/ar9.dtsi
target/linux/lantiq/dts/danube.dtsi
target/linux/lantiq/dts/vr9.dtsi

index 13d3e73860a1d420e5a7a617d256362fe9fd3123..5389446eba5d14edce9a9988eb7529b0bd00780f 100644 (file)
@@ -90,7 +90,7 @@
                };
 
                gpio: pinmux@E100B10 {
-                       compatible = "lantiq,pinctrl-ase";
+                       compatible = "lantiq,ase-pinctrl";
                        #gpio-cells = <2>;
                        gpio-controller;
                        reg = <0xE100B10 0xA0>;
index ee4e374ca406b649cc255484d247e9e60a18ea2f..f69a7aea9debb4e6f52c4aa8c7fa97565db4ea38 100644 (file)
                };
 
                gpio: pinmux@E100B10 {
-                       compatible = "lantiq,pinctrl-xr9";
+                       compatible = "lantiq,xrx100-pinctrl";
                        #gpio-cells = <2>;
                        gpio-controller;
                        reg = <0xE100B10 0xA0>;
index 698196d9ee7304b1fd018b78e9c372a39313c7f5..0a75fd9d45cac6a54a1bff449b565ec9c49195ca 100644 (file)
                };
 
                gpio: pinmux@E100B10 {
-                       compatible = "lantiq,pinctrl-xway";
+                       compatible = "lantiq,danube-pinctrl";
                        #gpio-cells = <2>;
                        gpio-controller;
                        reg = <0xE100B10 0xA0>;
index df63ce7240cbbd2c824858882236348b6949efa5..8f9635807ed1c967e07a5084f94ff97e024fadb2 100644 (file)
                };
 
                gpio: pinmux@E100B10 {
-                       compatible = "lantiq,pinctrl-xr9";
+                       compatible = "lantiq,xrx200-pinctrl";
                        #gpio-cells = <2>;
                        gpio-controller;
                        reg = <0xE100B10 0xA0>;