|
1 | 1 | /*
|
2 |
| - * Copyright 2022,2024 NXP |
| 2 | + * Copyright 2022, 2024-2025 NXP |
3 | 3 | *
|
4 | 4 | * SPDX-License-Identifier: Apache-2.0
|
5 | 5 | */
|
|
80 | 80 | compatible = "nxp,imx-ccm-rev2";
|
81 | 81 | reg = <0x44450000 DT_SIZE_K(64)>;
|
82 | 82 | #clock-cells = <3>;
|
| 83 | + |
| 84 | + ext_clk: ext24m { |
| 85 | + /* WDOG ext clock: 24MHz */ |
| 86 | + compatible = "fixed-clock"; |
| 87 | + clock-frequency = <24000000>; |
| 88 | + #clock-cells = <0>; |
| 89 | + }; |
| 90 | + |
| 91 | + lpo_clk: lpo32k { |
| 92 | + /* WDOG LPO clock: 32KHz */ |
| 93 | + compatible = "fixed-clock"; |
| 94 | + clock-frequency = <32000>; |
| 95 | + #clock-cells = <0>; |
| 96 | + }; |
| 97 | + |
| 98 | + int_clk: int133m { |
| 99 | + /* WDOG int clock: 133MHz */ |
| 100 | + compatible = "fixed-clock"; |
| 101 | + clock-frequency = <133000000>; |
| 102 | + #clock-cells = <0>; |
| 103 | + }; |
| 104 | + |
| 105 | + ipg_clk: ipg133m { |
| 106 | + /* WDOG ipg clock: 133MHz */ |
| 107 | + compatible = "fixed-clock"; |
| 108 | + clock-frequency = <133000000>; |
| 109 | + #clock-cells = <0>; |
| 110 | + }; |
| 111 | + }; |
| 112 | + |
| 113 | + wdog3: watchdog@42490000 { |
| 114 | + compatible = "nxp,wdog32"; |
| 115 | + reg = <0x42490000 0x1000>; |
| 116 | + interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>; |
| 117 | + interrupt-parent = <&gic>; |
| 118 | + /* clk-source and clocks must aligned: 0-ipg_clk, 1-lpo_clk, 2-int_clk, 3-ext_clk */ |
| 119 | + clocks = <&lpo_clk>; |
| 120 | + clk-source = <1>; |
| 121 | + clk-divider = <256>; |
| 122 | + status = "disabled"; |
| 123 | + }; |
| 124 | + |
| 125 | + wdog4: watchdog@424a0000 { |
| 126 | + compatible = "nxp,wdog32"; |
| 127 | + reg = <0x424a0000 0x1000>; |
| 128 | + interrupts = <GIC_SPI 80 IRQ_TYPE_LEVEL IRQ_DEFAULT_PRIORITY>; |
| 129 | + interrupt-parent = <&gic>; |
| 130 | + /* clk-source and clocks must aligned: 0-ipg_clk, 1-lpo_clk, 2-int_clk, 3-ext_clk */ |
| 131 | + clocks = <&lpo_clk>; |
| 132 | + clk-source = <1>; |
| 133 | + clk-divider = <256>; |
| 134 | + status = "disabled"; |
83 | 135 | };
|
84 | 136 |
|
85 | 137 | gpio1: gpio@47400000 {
|
|
0 commit comments