| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * linux/arch/arm/boot/nspire.dtsi |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2013 Daniel Tang <tangrs@tangrs.id.au> |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License version 2, as |
|---|
| 8 | | - * published by the Free Software Foundation. |
|---|
| 9 | | - * |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | |
|---|
| 12 | | -/include/ "skeleton.dtsi" |
|---|
| 13 | | - |
|---|
| 14 | 8 | / { |
|---|
| 9 | + #address-cells = <1>; |
|---|
| 10 | + #size-cells = <1>; |
|---|
| 15 | 11 | interrupt-parent = <&intc>; |
|---|
| 16 | 12 | |
|---|
| 17 | 13 | cpus { |
|---|
| .. | .. |
|---|
| 99 | 95 | reg = <0xC0000000 0x1000>; |
|---|
| 100 | 96 | interrupts = <21>; |
|---|
| 101 | 97 | |
|---|
| 102 | | - clocks = <&apb_pclk>; |
|---|
| 103 | | - clock-names = "apb_pclk"; |
|---|
| 98 | + /* |
|---|
| 99 | + * We assume the same clock is fed to APB and CLCDCLK. |
|---|
| 100 | + * There is some code to scale the clock down by a factor |
|---|
| 101 | + * 48 for the display so likely the frequency to the |
|---|
| 102 | + * display is 1MHz and the CLCDCLK is 48 MHz. |
|---|
| 103 | + */ |
|---|
| 104 | + clocks = <&apb_pclk>, <&apb_pclk>; |
|---|
| 105 | + clock-names = "clcdclk", "apb_pclk"; |
|---|
| 104 | 106 | }; |
|---|
| 105 | 107 | |
|---|
| 106 | 108 | adc: adc@C4000000 { |
|---|
| .. | .. |
|---|
| 143 | 145 | |
|---|
| 144 | 146 | timer0: timer@900C0000 { |
|---|
| 145 | 147 | reg = <0x900C0000 0x1000>; |
|---|
| 146 | | - |
|---|
| 147 | | - clocks = <&timer_clk>; |
|---|
| 148 | + clocks = <&timer_clk>, <&timer_clk>, |
|---|
| 149 | + <&timer_clk>; |
|---|
| 150 | + clock-names = "timer0clk", "timer1clk", |
|---|
| 151 | + "apb_pclk"; |
|---|
| 148 | 152 | }; |
|---|
| 149 | 153 | |
|---|
| 150 | 154 | timer1: timer@900D0000 { |
|---|
| 151 | 155 | reg = <0x900D0000 0x1000>; |
|---|
| 152 | 156 | interrupts = <19>; |
|---|
| 153 | | - |
|---|
| 154 | | - clocks = <&timer_clk>; |
|---|
| 157 | + clocks = <&timer_clk>, <&timer_clk>, |
|---|
| 158 | + <&timer_clk>; |
|---|
| 159 | + clock-names = "timer0clk", "timer1clk", |
|---|
| 160 | + "apb_pclk"; |
|---|
| 155 | 161 | }; |
|---|
| 156 | 162 | |
|---|
| 157 | 163 | watchdog: watchdog@90060000 { |
|---|