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>
pinctrl-0 = <&state_default>;
state_default: pinmux {
- asc {
- lantiq,groups = "asc";
- lantiq,function = "asc";
- };
keys_in {
lantiq,pins = "io0",/* "io25", */"io29";
lantiq,pull = <2>;
pinctrl-0 = <&state_default>;
state_default: pinmux {
- asc {
- lantiq,groups = "asc";
- lantiq,function = "asc";
- };
keys_in {
lantiq,pins = "io0",/* "io25", */"io29";
lantiq,pull = <2>;
gpio-controller;
reg = <0xe100b10 0xa0>;
+ asc_pins: asc-pins {
+ mux {
+ lantiq,groups = "asc";
+ lantiq,function = "asc";
+ };
+ };
+
mdio_pins: mdio {
mux {
lantiq,groups = "mdio";
reg = <0xe100c00 0x400>;
interrupt-parent = <&icu0>;
interrupts = <72 74 75>;
+ pinctrl-0 = <&asc_pins>;
+ pinctrl-names = "default";
};
mei@e116000 {