Commit 62d171bc authored by Alexander Shiyan's avatar Alexander Shiyan Committed by Arnd Bergmann

ARM: dts: clps711x: Add SYSCON nodes where it is used

This patch adds SYSCON descriptors to framebuffer, SPI, DAI
and modem control GPIO nodes to further rework these drivers
to remove the call to the syscon_regmap_lookup_by_compatible() function.
Signed-off-by: default avatarAlexander Shiyan <shc_work@mail.ru>
Link: https://lore.kernel.org/r/20210405051658.26779-1-shc_work@mail.ru'
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 61bac46e
...@@ -108,6 +108,7 @@ fb: fb@800002c0 { ...@@ -108,6 +108,7 @@ fb: fb@800002c0 {
compatible = "cirrus,ep7209-fb"; compatible = "cirrus,ep7209-fb";
reg = <0x800002c0 0xd44>, <0x60000000 0xc000>; reg = <0x800002c0 0xd44>, <0x60000000 0xc000>;
clocks = <&clks CLPS711X_CLK_BUS>; clocks = <&clks CLPS711X_CLK_BUS>;
syscon = <&syscon1>;
status = "disabled"; status = "disabled";
}; };
...@@ -147,6 +148,7 @@ spi: spi@80000500 { ...@@ -147,6 +148,7 @@ spi: spi@80000500 {
reg = <0x80000500 0x4>; reg = <0x80000500 0x4>;
interrupts = <15>; interrupts = <15>;
clocks = <&clks CLPS711X_CLK_SPI>; clocks = <&clks CLPS711X_CLK_SPI>;
syscon = <&syscon3>;
status = "disabled"; status = "disabled";
}; };
...@@ -170,6 +172,7 @@ dai: dai@80002000 { ...@@ -170,6 +172,7 @@ dai: dai@80002000 {
clocks = <&clks CLPS711X_CLK_PLL>; clocks = <&clks CLPS711X_CLK_PLL>;
clock-names = "pll"; clock-names = "pll";
interrupts = <32>; interrupts = <32>;
syscon = <&syscon3>;
status = "disabled"; status = "disabled";
}; };
...@@ -181,6 +184,7 @@ syscon3: syscon@80002200 { ...@@ -181,6 +184,7 @@ syscon3: syscon@80002200 {
mctrl: mctrl { mctrl: mctrl {
compatible = "cirrus,ep7209-mctrl-gpio"; compatible = "cirrus,ep7209-mctrl-gpio";
gpio,syscon-dev = <&syscon1 0 0>;
gpio-controller; gpio-controller;
#gpio-cells = <2>; #gpio-cells = <2>;
}; };
......
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