1 // SPDX-License-Identifier: GPL-2.0-or-later O 1 // SPDX-License-Identifier: GPL-2.0-or-later OR BSD-2-Clause 2 2 3 #include "rtl83xx.dtsi" 3 #include "rtl83xx.dtsi" 4 4 5 / { 5 / { 6 compatible = "realtek,rtl9302-soc"; 6 compatible = "realtek,rtl9302-soc"; 7 7 8 cpus { 8 cpus { 9 #address-cells = <1>; 9 #address-cells = <1>; 10 #size-cells = <0>; 10 #size-cells = <0>; 11 11 12 cpu@0 { 12 cpu@0 { 13 device_type = "cpu"; 13 device_type = "cpu"; 14 compatible = "mips,mip 14 compatible = "mips,mips34Kc"; 15 reg = <0>; 15 reg = <0>; 16 clocks = <&baseclk 0>; 16 clocks = <&baseclk 0>; 17 clock-names = "cpu"; 17 clock-names = "cpu"; 18 }; 18 }; 19 }; 19 }; 20 20 21 baseclk: clock-800mhz { 21 baseclk: clock-800mhz { 22 compatible = "fixed-clock"; 22 compatible = "fixed-clock"; 23 #clock-cells = <0>; 23 #clock-cells = <0>; 24 clock-frequency = <800000000>; 24 clock-frequency = <800000000>; 25 }; 25 }; 26 26 27 lx_clk: clock-175mhz { 27 lx_clk: clock-175mhz { 28 compatible = "fixed-clock"; 28 compatible = "fixed-clock"; 29 #clock-cells = <0>; 29 #clock-cells = <0>; 30 clock-frequency = <175000000> 30 clock-frequency = <175000000>; 31 }; 31 }; 32 }; 32 }; 33 33 34 &soc { 34 &soc { 35 intc: interrupt-controller@3000 { 35 intc: interrupt-controller@3000 { 36 compatible = "realtek,rtl9300- 36 compatible = "realtek,rtl9300-intc", "realtek,rtl-intc"; 37 reg = <0x3000 0x18>, <0x3018 0 37 reg = <0x3000 0x18>, <0x3018 0x18>; 38 interrupt-controller; 38 interrupt-controller; 39 #interrupt-cells = <1>; 39 #interrupt-cells = <1>; 40 40 41 interrupt-parent = <&cpuintc>; 41 interrupt-parent = <&cpuintc>; 42 interrupts = <2>, <3>, <4>, <5 42 interrupts = <2>, <3>, <4>, <5>, <6>, <7>; 43 }; 43 }; 44 44 45 spi0: spi@1200 { 45 spi0: spi@1200 { 46 compatible = "realtek,rtl8380- 46 compatible = "realtek,rtl8380-spi"; 47 reg = <0x1200 0x100>; 47 reg = <0x1200 0x100>; 48 48 49 #address-cells = <1>; 49 #address-cells = <1>; 50 #size-cells = <0>; 50 #size-cells = <0>; 51 }; 51 }; 52 52 53 timer0: timer@3200 { 53 timer0: timer@3200 { 54 compatible = "realtek,rtl9302- 54 compatible = "realtek,rtl9302-timer", "realtek,otto-timer"; 55 reg = <0x3200 0x10>, <0x3210 0 55 reg = <0x3200 0x10>, <0x3210 0x10>, <0x3220 0x10>, 56 <0x3230 0x10>, <0x3240 0x1 56 <0x3230 0x10>, <0x3240 0x10>; 57 57 58 interrupt-parent = <&intc>; 58 interrupt-parent = <&intc>; 59 interrupts = <7>, <8>, <9>, <1 59 interrupts = <7>, <8>, <9>, <10>, <11>; 60 clocks = <&lx_clk>; 60 clocks = <&lx_clk>; 61 }; 61 }; 62 }; 62 }; 63 63 64 &uart0 { 64 &uart0 { 65 /delete-property/ clock-frequency; 65 /delete-property/ clock-frequency; 66 clocks = <&lx_clk>; 66 clocks = <&lx_clk>; 67 67 68 interrupt-parent = <&intc>; 68 interrupt-parent = <&intc>; 69 interrupts = <30>; 69 interrupts = <30>; 70 }; 70 }; 71 71 72 &uart1 { 72 &uart1 { 73 /delete-property/ clock-frequency; 73 /delete-property/ clock-frequency; 74 clocks = <&lx_clk>; 74 clocks = <&lx_clk>; 75 75 76 interrupt-parent = <&intc>; 76 interrupt-parent = <&intc>; 77 interrupts = <31>; 77 interrupts = <31>; 78 }; 78 }; 79 79
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.