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