Commit 630c986b authored by Antoine Tenart's avatar Antoine Tenart Committed by Sebastian Hesselbarth

ARM: berlin: move pinctrl to simple-mfd nodes

Now with proper support for simple-mfd probed pinctrl driver, move
to the new soc-pinctrl and system-pinctrl nodes.
Signed-off-by: default avatarAntoine Tenart <antoine.tenart@free-electrons.com>
Signed-off-by: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
parent f52bf55c
...@@ -357,9 +357,13 @@ chip: chip-control@ea0000 { ...@@ -357,9 +357,13 @@ chip: chip-control@ea0000 {
clocks = <&refclk>; clocks = <&refclk>;
clock-names = "refclk"; clock-names = "refclk";
emmc_pmux: emmc-pmux { soc_pinctrl: pin-controller {
groups = "G26"; compatible = "marvell,berlin2-soc-pinctrl";
function = "emmc";
emmc_pmux: emmc-pmux {
groups = "G26";
function = "emmc";
};
}; };
chip_rst: reset { chip_rst: reset {
...@@ -449,19 +453,21 @@ sysctrl: system-controller@d000 { ...@@ -449,19 +453,21 @@ sysctrl: system-controller@d000 {
compatible = "marvell,berlin2-system-ctrl", "simple-mfd", "syscon"; compatible = "marvell,berlin2-system-ctrl", "simple-mfd", "syscon";
reg = <0xd000 0x100>; reg = <0xd000 0x100>;
uart0_pmux: uart0-pmux { sys_pinctrl: pin-controller {
groups = "GSM4"; compatible = "marvell,berlin2-system-pinctrl";
function = "uart0"; uart0_pmux: uart0-pmux {
}; groups = "GSM4";
function = "uart0";
uart1_pmux: uart1-pmux { };
groups = "GSM5";
function = "uart1"; uart1_pmux: uart1-pmux {
}; groups = "GSM5";
function = "uart1";
uart2_pmux: uart2-pmux { };
groups = "GSM3"; uart2_pmux: uart2-pmux {
function = "uart2"; groups = "GSM3";
function = "uart2";
};
}; };
}; };
......
...@@ -301,9 +301,13 @@ chip: chip-control@ea0000 { ...@@ -301,9 +301,13 @@ chip: chip-control@ea0000 {
clocks = <&refclk>; clocks = <&refclk>;
clock-names = "refclk"; clock-names = "refclk";
uart0_pmux: uart0-pmux { soc_pinctrl: pin-controller {
groups = "G6"; compatible = "marvell,berlin2cd-soc-pinctrl";
function = "uart0";
uart0_pmux: uart0-pmux {
groups = "G6";
function = "uart0";
};
}; };
chip_rst: reset { chip_rst: reset {
...@@ -395,6 +399,10 @@ uart1: serial@a000 { ...@@ -395,6 +399,10 @@ uart1: serial@a000 {
sysctrl: system-controller@d000 { sysctrl: system-controller@d000 {
compatible = "marvell,berlin2cd-system-ctrl", "simple-mfd", "syscon"; compatible = "marvell,berlin2cd-system-ctrl", "simple-mfd", "syscon";
reg = <0xd000 0x100>; reg = <0xd000 0x100>;
sys_pinctrl: pin-controller {
compatible = "marvell,berlin2cd-system-pinctrl";
};
}; };
sic: interrupt-controller@e000 { sic: interrupt-controller@e000 {
......
...@@ -366,14 +366,18 @@ chip: chip-control@ea0000 { ...@@ -366,14 +366,18 @@ chip: chip-control@ea0000 {
clocks = <&refclk>; clocks = <&refclk>;
clock-names = "refclk"; clock-names = "refclk";
twsi0_pmux: twsi0-pmux { soc_pinctrl: pin-controller {
groups = "G6"; compatible = "marvell,berlin2q-soc-pinctrl";
function = "twsi0";
}; twsi0_pmux: twsi0-pmux {
groups = "G6";
function = "twsi0";
};
twsi1_pmux: twsi1-pmux { twsi1_pmux: twsi1-pmux {
groups = "G7"; groups = "G7";
function = "twsi1"; function = "twsi1";
};
}; };
chip_rst: reset { chip_rst: reset {
...@@ -533,24 +537,28 @@ sysctrl: pin-controller@d000 { ...@@ -533,24 +537,28 @@ sysctrl: pin-controller@d000 {
compatible = "marvell,berlin2q-system-ctrl", "simple-mfd", "syscon"; compatible = "marvell,berlin2q-system-ctrl", "simple-mfd", "syscon";
reg = <0xd000 0x100>; reg = <0xd000 0x100>;
uart0_pmux: uart0-pmux { sys_pinctrl: pin-controller {
groups = "GSM12"; compatible = "marvell,berlin2q-system-pinctrl";
function = "uart0";
};
uart1_pmux: uart1-pmux { uart0_pmux: uart0-pmux {
groups = "GSM14"; groups = "GSM12";
function = "uart1"; function = "uart0";
}; };
twsi2_pmux: twsi2-pmux { uart1_pmux: uart1-pmux {
groups = "GSM13"; groups = "GSM14";
function = "twsi2"; function = "uart1";
}; };
twsi2_pmux: twsi2-pmux {
groups = "GSM13";
function = "twsi2";
};
twsi3_pmux: twsi3-pmux { twsi3_pmux: twsi3-pmux {
groups = "GSM14"; groups = "GSM14";
function = "twsi3"; function = "twsi3";
};
}; };
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment