Oliver Gaskell | 2ac51a2 | 2024-09-12 16:50:42 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 2 | /* |
| 3 | * (C) Copyright 2024 - Analog Devices, Inc. |
| 4 | */ |
| 5 | |
| 6 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 7 | #include <dt-bindings/clock/adi-sc5xx-clock.h> |
| 8 | |
| 9 | / { |
| 10 | #address-cells = <1>; |
| 11 | #size-cells = <1>; |
| 12 | |
| 13 | clocks { |
| 14 | sys_clkin0: sys_clkin0 { |
| 15 | compatible = "fixed-clock"; |
| 16 | #clock-cells = <0>; |
| 17 | clock-frequency = <25000000>; |
| 18 | bootph-all; |
| 19 | }; |
| 20 | |
| 21 | sys_clkin1: sys_clkin1 { |
| 22 | compatible = "fixed-clock"; |
| 23 | #clock-cells = <0>; |
| 24 | clock-frequency = <25000000>; |
| 25 | bootph-all; |
| 26 | }; |
| 27 | }; |
| 28 | |
| 29 | soc { |
| 30 | #address-cells = <1>; |
| 31 | #size-cells = <1>; |
| 32 | compatible = "simple-bus"; |
| 33 | device_type = "soc"; |
| 34 | ranges; |
| 35 | bootph-all; |
| 36 | |
| 37 | timer0: timer@31018000 { |
| 38 | compatible = "adi,sc5xx-gptimer"; |
| 39 | reg = <0x31018004 0x100>, |
| 40 | <0x31018060 0x100>; |
| 41 | status = "okay"; |
| 42 | bootph-all; |
| 43 | }; |
| 44 | |
| 45 | clk: clocks@3108d000 { |
| 46 | reg = <0x3108d000 0x1000>; |
| 47 | #clock-cells = <1>; |
| 48 | clocks = <&sys_clkin0>, <&sys_clkin1>; |
| 49 | clock-names = "sys_clkin0", "sys_clkin1"; |
| 50 | status = "okay"; |
| 51 | bootph-all; |
| 52 | }; |
| 53 | }; |
| 54 | }; |