1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-15 19:53:59 +02:00

lantiq: dts: assign the ASC pins to the serial controller node

Assign the ASC pins to the serial controller node instead of using pin
hogging (where pins are assigned to the pin controller).
This is the preferred way of assigning pins upstream.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
This commit is contained in:
Martin Blumenstingl 2019-07-08 15:24:22 +02:00 committed by Adrian Schmutzler
parent 8e7b573b7a
commit 4c88b3b5dc
3 changed files with 9 additions and 8 deletions

View File

@ -61,10 +61,6 @@
pinctrl-0 = <&state_default>;
state_default: pinmux {
asc {
lantiq,groups = "asc";
lantiq,function = "asc";
};
keys_in {
lantiq,pins = "io0",/* "io25", */"io29";
lantiq,pull = <2>;

View File

@ -86,10 +86,6 @@
pinctrl-0 = <&state_default>;
state_default: pinmux {
asc {
lantiq,groups = "asc";
lantiq,function = "asc";
};
keys_in {
lantiq,pins = "io0",/* "io25", */"io29";
lantiq,pull = <2>;

View File

@ -151,6 +151,13 @@
gpio-controller;
reg = <0xe100b10 0xa0>;
asc_pins: asc-pins {
mux {
lantiq,groups = "asc";
lantiq,function = "asc";
};
};
mdio_pins: mdio {
mux {
lantiq,groups = "mdio";
@ -184,6 +191,8 @@
reg = <0xe100c00 0x400>;
interrupt-parent = <&icu0>;
interrupts = <72 74 75>;
pinctrl-0 = <&asc_pins>;
pinctrl-names = "default";
};
mei@e116000 {