Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

arm64: dts: altera: socfpga_stratix10: move clocks out of soc node

The clocks are not part of the SoC but provided on the board
(external oscillators). Moving them out of soc node.

Signed-off-by: Niravkumar L Rabara <niravkumar.l.rabara@intel.com>
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>

authored by

Niravkumar L Rabara and committed by
Dinh Nguyen
357513c0 2b59af8c

+36 -40
+28 -28
arch/arm64/boot/dts/altera/socfpga_stratix10.dtsi
··· 97 97 <0x0 0xfffc6000 0x0 0x2000>; 98 98 }; 99 99 100 + clocks { 101 + cb_intosc_hs_div2_clk: cb-intosc-hs-div2-clk { 102 + #clock-cells = <0>; 103 + compatible = "fixed-clock"; 104 + }; 105 + 106 + cb_intosc_ls_clk: cb-intosc-ls-clk { 107 + #clock-cells = <0>; 108 + compatible = "fixed-clock"; 109 + }; 110 + 111 + f2s_free_clk: f2s-free-clk { 112 + #clock-cells = <0>; 113 + compatible = "fixed-clock"; 114 + }; 115 + 116 + osc1: osc1 { 117 + #clock-cells = <0>; 118 + compatible = "fixed-clock"; 119 + }; 120 + 121 + qspi_clk: qspi-clk { 122 + #clock-cells = <0>; 123 + compatible = "fixed-clock"; 124 + clock-frequency = <200000000>; 125 + }; 126 + }; 127 + 100 128 soc { 101 129 #address-cells = <1>; 102 130 #size-cells = <1>; ··· 145 117 compatible = "intel,stratix10-clkmgr"; 146 118 reg = <0xffd10000 0x1000>; 147 119 #clock-cells = <1>; 148 - }; 149 - 150 - clocks { 151 - cb_intosc_hs_div2_clk: cb-intosc-hs-div2-clk { 152 - #clock-cells = <0>; 153 - compatible = "fixed-clock"; 154 - }; 155 - 156 - cb_intosc_ls_clk: cb-intosc-ls-clk { 157 - #clock-cells = <0>; 158 - compatible = "fixed-clock"; 159 - }; 160 - 161 - f2s_free_clk: f2s-free-clk { 162 - #clock-cells = <0>; 163 - compatible = "fixed-clock"; 164 - }; 165 - 166 - osc1: osc1 { 167 - #clock-cells = <0>; 168 - compatible = "fixed-clock"; 169 - }; 170 - 171 - qspi_clk: qspi-clk { 172 - #clock-cells = <0>; 173 - compatible = "fixed-clock"; 174 - clock-frequency = <200000000>; 175 - }; 176 120 }; 177 121 178 122 gmac0: ethernet@ff800000 {
+4 -6
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk.dts
··· 52 52 }; 53 53 54 54 soc { 55 - clocks { 56 - osc1 { 57 - clock-frequency = <25000000>; 58 - }; 59 - }; 60 - 61 55 eccmgr { 62 56 sdmmca-ecc@ff8c8c00 { 63 57 compatible = "altr,socfpga-s10-sdmmc-ecc", ··· 105 111 cap-mmc-highspeed; 106 112 broken-cd; 107 113 bus-width = <4>; 114 + }; 115 + 116 + &osc1 { 117 + clock-frequency = <25000000>; 108 118 }; 109 119 110 120 &uart0 {
+4 -6
arch/arm64/boot/dts/altera/socfpga_stratix10_socdk_nand.dts
··· 52 52 }; 53 53 54 54 soc { 55 - clocks { 56 - osc1 { 57 - clock-frequency = <25000000>; 58 - }; 59 - }; 60 - 61 55 eccmgr { 62 56 sdmmca-ecc@ff8c8c00 { 63 57 compatible = "altr,socfpga-s10-sdmmc-ecc", ··· 118 124 reg = <0x200000 0x3fe00000>; 119 125 }; 120 126 }; 127 + }; 128 + 129 + &osc1 { 130 + clock-frequency = <25000000>; 121 131 }; 122 132 123 133 &uart0 {