Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+22 −16
Original line number Diff line number Diff line
@@ -357,10 +357,14 @@
			clocks = <&refclk>;
			clock-names = "refclk";

			soc_pinctrl: pin-controller {
				compatible = "marvell,berlin2-soc-pinctrl";

				emmc_pmux: emmc-pmux {
					groups = "G26";
					function = "emmc";
				};
			};

			chip_rst: reset {
				compatible = "marvell,berlin2-reset";
@@ -449,6 +453,8 @@
				compatible = "marvell,berlin2-system-ctrl", "simple-mfd", "syscon";
				reg = <0xd000 0x100>;

				sys_pinctrl: pin-controller {
					compatible = "marvell,berlin2-system-pinctrl";
					uart0_pmux: uart0-pmux {
						groups = "GSM4";
						function = "uart0";
@@ -458,12 +464,12 @@
						groups = "GSM5";
						function = "uart1";
					};

					uart2_pmux: uart2-pmux {
						groups = "GSM3";
						function = "uart2";
					};
				};
			};

			sic: interrupt-controller@e000 {
				compatible = "snps,dw-apb-ictl";
+11 −3
Original line number Diff line number Diff line
@@ -301,10 +301,14 @@
			clocks = <&refclk>;
			clock-names = "refclk";

			soc_pinctrl: pin-controller {
				compatible = "marvell,berlin2cd-soc-pinctrl";

				uart0_pmux: uart0-pmux {
					groups = "G6";
					function = "uart0";
				};
			};

			chip_rst: reset {
				compatible = "marvell,berlin2-reset";
@@ -395,6 +399,10 @@
			sysctrl: system-controller@d000 {
				compatible = "marvell,berlin2cd-system-ctrl", "simple-mfd", "syscon";
				reg = <0xd000 0x100>;

				sys_pinctrl: pin-controller {
					compatible = "marvell,berlin2cd-system-pinctrl";
				};
			};

			sic: interrupt-controller@e000 {
+30 −22
Original line number Diff line number Diff line
@@ -366,6 +366,9 @@
			clocks = <&refclk>;
			clock-names = "refclk";

			soc_pinctrl: pin-controller {
				compatible = "marvell,berlin2q-soc-pinctrl";

				twsi0_pmux: twsi0-pmux {
					groups = "G6";
					function = "twsi0";
@@ -375,6 +378,7 @@
					groups = "G7";
					function = "twsi1";
				};
			};

			chip_rst: reset {
				compatible = "marvell,berlin2-reset";
@@ -533,6 +537,9 @@
				compatible = "marvell,berlin2q-system-ctrl", "simple-mfd", "syscon";
				reg = <0xd000 0x100>;

				sys_pinctrl: pin-controller {
					compatible = "marvell,berlin2q-system-pinctrl";

					uart0_pmux: uart0-pmux {
						groups = "GSM12";
						function = "uart0";
@@ -553,6 +560,7 @@
						function = "twsi3";
					};
				};
			};

			sic: interrupt-controller@e000 {
				compatible = "snps,dw-apb-ictl";