1// SPDX-License-Identifier: GPL-2.0 2/ { 3 #address-cells = <1>; 4 #size-cells = <1>; 5 compatible = "brcm,bcm6328"; 6 7 cpus { 8 #address-cells = <1>; 9 #size-cells = <0>; 10 11 mips-hpt-frequency = <160000000>; 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 54 clkctl: clock-controller@10000004 { 55 compatible = "brcm,bcm6328-clocks"; 56 reg = <0x10000004 0x4>; 57 #clock-cells = <1>; 58 }; 59 60 periph_intc: interrupt-controller@10000020 { 61 compatible = "brcm,bcm6345-l1-intc"; 62 reg = <0x10000020 0x10>, 63 <0x10000030 0x10>; 64 65 interrupt-controller; 66 #interrupt-cells = <1>; 67 68 interrupt-parent = <&cpu_intc>; 69 interrupts = <2>, <3>; 70 }; 71 72 uart0: serial@10000100 { 73 compatible = "brcm,bcm6345-uart"; 74 reg = <0x10000100 0x18>; 75 interrupt-parent = <&periph_intc>; 76 interrupts = <28>; 77 clocks = <&periph_clk>; 78 clock-names = "refclk"; 79 status = "disabled"; 80 }; 81 82 uart1: serial@10000120 { 83 compatible = "brcm,bcm6345-uart"; 84 reg = <0x10000120 0x18>; 85 interrupt-parent = <&periph_intc>; 86 interrupts = <39>; 87 clocks = <&periph_clk>; 88 clock-names = "refclk"; 89 status = "disabled"; 90 }; 91 92 timer: syscon@10000040 { 93 compatible = "syscon"; 94 reg = <0x10000040 0x2c>; 95 native-endian; 96 }; 97 98 reboot: syscon-reboot@10000068 { 99 compatible = "syscon-reboot"; 100 regmap = <&timer>; 101 offset = <0x28>; 102 mask = <0x1>; 103 }; 104 105 leds0: led-controller@10000800 { 106 #address-cells = <1>; 107 #size-cells = <0>; 108 compatible = "brcm,bcm6328-leds"; 109 reg = <0x10000800 0x24>; 110 status = "disabled"; 111 }; 112 113 periph_pwr: power-controller@10001848 { 114 compatible = "brcm,bcm6328-power-controller"; 115 reg = <0x10001848 0x4>; 116 #power-domain-cells = <1>; 117 }; 118 119 ehci: usb@10002500 { 120 compatible = "brcm,bcm6328-ehci", "generic-ehci"; 121 reg = <0x10002500 0x100>; 122 big-endian; 123 interrupt-parent = <&periph_intc>; 124 interrupts = <42>; 125 status = "disabled"; 126 }; 127 128 ohci: usb@10002600 { 129 compatible = "brcm,bcm6328-ohci", "generic-ohci"; 130 reg = <0x10002600 0x100>; 131 big-endian; 132 no-big-frame-no; 133 interrupt-parent = <&periph_intc>; 134 interrupts = <41>; 135 status = "disabled"; 136 }; 137 }; 138}; 139