Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Álvaro Fernández Rojas | ef0c592 | 2016-08-03 11:58:30 +0200 | [diff] [blame] | 2 | / { |
| 3 | #address-cells = <1>; |
| 4 | #size-cells = <1>; |
| 5 | compatible = "brcm,bcm6362"; |
| 6 | |
| 7 | cpus { |
| 8 | #address-cells = <1>; |
| 9 | #size-cells = <0>; |
| 10 | |
| 11 | mips-hpt-frequency = <200000000>; |
| 12 | |
| 13 | cpu@0 { |
| 14 | compatible = "brcm,bmips4350"; |
| 15 | device_type = "cpu"; |
| 16 | reg = <0>; |
| 17 | }; |
| 18 | |
| 19 | cpu@1 { |
| 20 | compatible = "brcm,bmips4350"; |
| 21 | device_type = "cpu"; |
| 22 | reg = <1>; |
| 23 | }; |
| 24 | }; |
| 25 | |
| 26 | clocks { |
| 27 | periph_clk: periph-clk { |
| 28 | compatible = "fixed-clock"; |
| 29 | #clock-cells = <0>; |
| 30 | clock-frequency = <50000000>; |
| 31 | }; |
| 32 | }; |
| 33 | |
| 34 | aliases { |
| 35 | serial0 = &uart0; |
| 36 | serial1 = &uart1; |
| 37 | }; |
| 38 | |
| 39 | cpu_intc: interrupt-controller { |
| 40 | #address-cells = <0>; |
| 41 | compatible = "mti,cpu-interrupt-controller"; |
| 42 | |
| 43 | interrupt-controller; |
| 44 | #interrupt-cells = <1>; |
| 45 | }; |
| 46 | |
| 47 | ubus { |
| 48 | #address-cells = <1>; |
| 49 | #size-cells = <1>; |
| 50 | |
| 51 | compatible = "simple-bus"; |
| 52 | ranges; |
| 53 | |
Jonas Gorski | a23c413 | 2019-05-02 14:26:57 +0200 | [diff] [blame] | 54 | clkctl: clock-controller@10000004 { |
| 55 | compatible = "brcm,bcm6362-clocks"; |
| 56 | reg = <0x10000004 0x4>; |
| 57 | #clock-cells = <1>; |
| 58 | }; |
| 59 | |
| 60 | periph_cntl: syscon@10000008 { |
Álvaro Fernández Rojas | ef0c592 | 2016-08-03 11:58:30 +0200 | [diff] [blame] | 61 | compatible = "syscon"; |
Jonas Gorski | a23c413 | 2019-05-02 14:26:57 +0200 | [diff] [blame] | 62 | reg = <0x10000000 0xc>; |
Álvaro Fernández Rojas | ef0c592 | 2016-08-03 11:58:30 +0200 | [diff] [blame] | 63 | native-endian; |
| 64 | }; |
| 65 | |
| 66 | reboot: syscon-reboot@10000008 { |
| 67 | compatible = "syscon-reboot"; |
| 68 | regmap = <&periph_cntl>; |
Jonas Gorski | a23c413 | 2019-05-02 14:26:57 +0200 | [diff] [blame] | 69 | offset = <0x0>; |
Álvaro Fernández Rojas | ef0c592 | 2016-08-03 11:58:30 +0200 | [diff] [blame] | 70 | mask = <0x1>; |
| 71 | }; |
| 72 | |
| 73 | periph_intc: interrupt-controller@10000020 { |
| 74 | compatible = "brcm,bcm6345-l1-intc"; |
| 75 | reg = <0x10000020 0x10>, |
| 76 | <0x10000030 0x10>; |
| 77 | |
| 78 | interrupt-controller; |
| 79 | #interrupt-cells = <1>; |
| 80 | |
| 81 | interrupt-parent = <&cpu_intc>; |
| 82 | interrupts = <2>, <3>; |
| 83 | }; |
| 84 | |
| 85 | uart0: serial@10000100 { |
| 86 | compatible = "brcm,bcm6345-uart"; |
| 87 | reg = <0x10000100 0x18>; |
| 88 | |
| 89 | interrupt-parent = <&periph_intc>; |
| 90 | interrupts = <3>; |
| 91 | |
| 92 | clocks = <&periph_clk>; |
Jonas Gorski | bed8d2a | 2017-09-20 13:14:05 +0200 | [diff] [blame] | 93 | clock-names = "refclk"; |
Álvaro Fernández Rojas | ef0c592 | 2016-08-03 11:58:30 +0200 | [diff] [blame] | 94 | |
| 95 | status = "disabled"; |
| 96 | }; |
| 97 | |
| 98 | uart1: serial@10000120 { |
| 99 | compatible = "brcm,bcm6345-uart"; |
| 100 | reg = <0x10000120 0x18>; |
| 101 | |
| 102 | interrupt-parent = <&periph_intc>; |
| 103 | interrupts = <4>; |
| 104 | |
| 105 | clocks = <&periph_clk>; |
Jonas Gorski | bed8d2a | 2017-09-20 13:14:05 +0200 | [diff] [blame] | 106 | clock-names = "refclk"; |
Álvaro Fernández Rojas | ef0c592 | 2016-08-03 11:58:30 +0200 | [diff] [blame] | 107 | |
| 108 | status = "disabled"; |
| 109 | }; |
| 110 | |
Álvaro Fernández Rojas | 07fcf77 | 2020-06-13 10:21:39 +0200 | [diff] [blame^] | 111 | periph_pwr: power-controller@10001848 { |
| 112 | compatible = "brcm,bcm6362-power-controller"; |
| 113 | reg = <0x10001848 0x4>; |
| 114 | #power-domain-cells = <1>; |
| 115 | }; |
| 116 | |
Álvaro Fernández Rojas | ef0c592 | 2016-08-03 11:58:30 +0200 | [diff] [blame] | 117 | leds0: led-controller@10001900 { |
| 118 | #address-cells = <1>; |
| 119 | #size-cells = <0>; |
| 120 | compatible = "brcm,bcm6328-leds"; |
| 121 | reg = <0x10001900 0x24>; |
| 122 | |
| 123 | status = "disabled"; |
| 124 | }; |
| 125 | |
| 126 | ehci: usb@10002500 { |
| 127 | compatible = "brcm,bcm6362-ehci", "generic-ehci"; |
| 128 | reg = <0x10002500 0x100>; |
| 129 | big-endian; |
| 130 | |
| 131 | interrupt-parent = <&periph_intc>; |
| 132 | interrupts = <10>; |
| 133 | |
| 134 | status = "disabled"; |
| 135 | }; |
| 136 | |
| 137 | ohci: usb@10002600 { |
| 138 | compatible = "brcm,bcm6362-ohci", "generic-ohci"; |
| 139 | reg = <0x10002600 0x100>; |
| 140 | big-endian; |
| 141 | no-big-frame-no; |
| 142 | |
| 143 | interrupt-parent = <&periph_intc>; |
| 144 | interrupts = <9>; |
| 145 | |
| 146 | status = "disabled"; |
| 147 | }; |
| 148 | }; |
| 149 | }; |