Skip to content

Commit e916bfa

Browse files
Andre-ARMolofj
authored andcommitted
ARM: dts: nspire: Fix SP804 users
Even though the SP804 binding allows to specify only one clock, the primecell driver requires a named clock to activate the bus clock. Specify the one clock three times and provide some clock-names, to make the DT match the SP804 and primecell binding. Link: https://lore.kernel.org/r/20200907121831.242281-3-andre.przywara@arm.com Signed-off-by: Andre Przywara <andre.przywara@arm.com> Signed-off-by: Olof Johansson <olof@lixom.net>
1 parent c979486 commit e916bfa

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

arch/arm/boot/dts/nspire.dtsi

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,15 +145,19 @@
145145

146146
timer0: timer@900C0000 {
147147
reg = <0x900C0000 0x1000>;
148-
149-
clocks = <&timer_clk>;
148+
clocks = <&timer_clk>, <&timer_clk>,
149+
<&timer_clk>;
150+
clock-names = "timer0clk", "timer1clk",
151+
"apb_pclk";
150152
};
151153

152154
timer1: timer@900D0000 {
153155
reg = <0x900D0000 0x1000>;
154156
interrupts = <19>;
155-
156-
clocks = <&timer_clk>;
157+
clocks = <&timer_clk>, <&timer_clk>,
158+
<&timer_clk>;
159+
clock-names = "timer0clk", "timer1clk",
160+
"apb_pclk";
157161
};
158162

159163
watchdog: watchdog@90060000 {

0 commit comments

Comments
 (0)