Skip to content

Commit 8754c6e

Browse files
pwojtaszczyk-tsvzapolskiy
authored andcommitted
ARM: dts: lpc32xx: Use syscon for system control block
The clock controller is a part of NXP LPC32xx system control block (SCB), and SCB provides a number of controllers apart of the clock controller. [vzapolskiy]: 1. kept a simple comment, 2. renamed SoC specific compatible to 'nxp,lpc3220-scb' due to the SoC UM, 3. changed size in 'ranges', since it should cover more SCB functions, 4. updated the commit message. Link to the original change: * https://lore.kernel.org/linux-arm-kernel/20240627150046.258795-5-piotr.wojtaszczyk@timesys.com/ Signed-off-by: Piotr Wojtaszczyk <piotr.wojtaszczyk@timesys.com> Signed-off-by: Vladimir Zapolskiy <vz@mleia.com>
1 parent d8bb9ef commit 8754c6e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

arch/arm/boot/dts/nxp/lpc/lpc32xx.dtsi

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -308,17 +308,17 @@
308308
ranges = <0x20000000 0x20000000 0x30000000>;
309309

310310
/* System Control Block */
311-
scb {
312-
compatible = "simple-bus";
313-
ranges = <0x0 0x40004000 0x00001000>;
311+
syscon@40004000 {
312+
compatible = "nxp,lpc3220-scb", "syscon", "simple-mfd";
313+
reg = <0x40004000 0x1000>;
314314
#address-cells = <1>;
315315
#size-cells = <1>;
316+
ranges = <0 0x40004000 0x1000>;
316317

317318
clk: clock-controller@0 {
318319
compatible = "nxp,lpc3220-clk";
319320
reg = <0x00 0x114>;
320321
#clock-cells = <1>;
321-
322322
clocks = <&xtal_32k>, <&xtal>;
323323
clock-names = "xtal_32k", "xtal";
324324
};

0 commit comments

Comments
 (0)