ARM: sun8i: Add clock indices
The A23 and A33 gates have a non continuous set of clock IDs that are valid. Add the clock-indices property to the DT to express this. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Michael Turquette <mturquette@baylibre.com>
This commit is contained in:
parent
6bfe30b2fd
commit
c0a6e360a4
|
@ -180,6 +180,15 @@
|
||||||
compatible = "allwinner,sun8i-a23-ahb1-gates-clk";
|
compatible = "allwinner,sun8i-a23-ahb1-gates-clk";
|
||||||
reg = <0x01c20060 0x8>;
|
reg = <0x01c20060 0x8>;
|
||||||
clocks = <&ahb1>;
|
clocks = <&ahb1>;
|
||||||
|
clock-indices = <1>, <6>,
|
||||||
|
<8>, <9>, <10>,
|
||||||
|
<13>, <14>,
|
||||||
|
<19>, <20>,
|
||||||
|
<21>, <24>, <26>,
|
||||||
|
<29>, <32>, <36>,
|
||||||
|
<40>, <44>, <46>,
|
||||||
|
<52>, <54>,
|
||||||
|
<57>;
|
||||||
clock-output-names = "ahb1_mipidsi", "ahb1_dma",
|
clock-output-names = "ahb1_mipidsi", "ahb1_dma",
|
||||||
"ahb1_mmc0", "ahb1_mmc1", "ahb1_mmc2",
|
"ahb1_mmc0", "ahb1_mmc1", "ahb1_mmc2",
|
||||||
"ahb1_nand", "ahb1_sdram",
|
"ahb1_nand", "ahb1_sdram",
|
||||||
|
@ -196,6 +205,8 @@
|
||||||
compatible = "allwinner,sun8i-a23-apb1-gates-clk";
|
compatible = "allwinner,sun8i-a23-apb1-gates-clk";
|
||||||
reg = <0x01c20068 0x4>;
|
reg = <0x01c20068 0x4>;
|
||||||
clocks = <&apb1>;
|
clocks = <&apb1>;
|
||||||
|
clock-indices = <0>, <5>,
|
||||||
|
<12>, <13>;
|
||||||
clock-output-names = "apb1_codec", "apb1_pio",
|
clock-output-names = "apb1_codec", "apb1_pio",
|
||||||
"apb1_daudio0", "apb1_daudio1";
|
"apb1_daudio0", "apb1_daudio1";
|
||||||
};
|
};
|
||||||
|
@ -213,6 +224,10 @@
|
||||||
compatible = "allwinner,sun8i-a23-apb2-gates-clk";
|
compatible = "allwinner,sun8i-a23-apb2-gates-clk";
|
||||||
reg = <0x01c2006c 0x4>;
|
reg = <0x01c2006c 0x4>;
|
||||||
clocks = <&apb2>;
|
clocks = <&apb2>;
|
||||||
|
clock-indices = <0>, <1>,
|
||||||
|
<2>, <16>,
|
||||||
|
<17>, <18>,
|
||||||
|
<19>, <20>;
|
||||||
clock-output-names = "apb2_i2c0", "apb2_i2c1",
|
clock-output-names = "apb2_i2c0", "apb2_i2c1",
|
||||||
"apb2_i2c2", "apb2_uart0",
|
"apb2_i2c2", "apb2_uart0",
|
||||||
"apb2_uart1", "apb2_uart2",
|
"apb2_uart1", "apb2_uart2",
|
||||||
|
|
Loading…
Reference in New Issue