1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2*2eb4d8dcSEmmanuel Vadot 3*2eb4d8dcSEmmanuel Vadot#include "dt-bindings/clock/bcm3368-clock.h" 4*2eb4d8dcSEmmanuel Vadot 5c66ec88fSEmmanuel Vadot/ { 6c66ec88fSEmmanuel Vadot #address-cells = <1>; 7c66ec88fSEmmanuel Vadot #size-cells = <1>; 8c66ec88fSEmmanuel Vadot compatible = "brcm,bcm3368"; 9c66ec88fSEmmanuel Vadot 10c66ec88fSEmmanuel Vadot cpus { 11c66ec88fSEmmanuel Vadot #address-cells = <1>; 12c66ec88fSEmmanuel Vadot #size-cells = <0>; 13c66ec88fSEmmanuel Vadot 14c66ec88fSEmmanuel Vadot mips-hpt-frequency = <150000000>; 15c66ec88fSEmmanuel Vadot 16c66ec88fSEmmanuel Vadot cpu@0 { 17c66ec88fSEmmanuel Vadot compatible = "brcm,bmips4350"; 18c66ec88fSEmmanuel Vadot device_type = "cpu"; 19c66ec88fSEmmanuel Vadot reg = <0>; 20c66ec88fSEmmanuel Vadot }; 21c66ec88fSEmmanuel Vadot 22c66ec88fSEmmanuel Vadot cpu@1 { 23c66ec88fSEmmanuel Vadot compatible = "brcm,bmips4350"; 24c66ec88fSEmmanuel Vadot device_type = "cpu"; 25c66ec88fSEmmanuel Vadot reg = <1>; 26c66ec88fSEmmanuel Vadot }; 27c66ec88fSEmmanuel Vadot }; 28c66ec88fSEmmanuel Vadot 29c66ec88fSEmmanuel Vadot clocks { 30c66ec88fSEmmanuel Vadot periph_clk: periph-clk { 31c66ec88fSEmmanuel Vadot compatible = "fixed-clock"; 32c66ec88fSEmmanuel Vadot #clock-cells = <0>; 33c66ec88fSEmmanuel Vadot clock-frequency = <50000000>; 34c66ec88fSEmmanuel Vadot }; 35c66ec88fSEmmanuel Vadot }; 36c66ec88fSEmmanuel Vadot 37c66ec88fSEmmanuel Vadot aliases { 38c66ec88fSEmmanuel Vadot serial0 = &uart0; 39c66ec88fSEmmanuel Vadot serial1 = &uart1; 40c66ec88fSEmmanuel Vadot }; 41c66ec88fSEmmanuel Vadot 42c66ec88fSEmmanuel Vadot cpu_intc: interrupt-controller { 43c66ec88fSEmmanuel Vadot #address-cells = <0>; 44c66ec88fSEmmanuel Vadot compatible = "mti,cpu-interrupt-controller"; 45c66ec88fSEmmanuel Vadot 46c66ec88fSEmmanuel Vadot interrupt-controller; 47c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 48c66ec88fSEmmanuel Vadot }; 49c66ec88fSEmmanuel Vadot 50c66ec88fSEmmanuel Vadot ubus { 51c66ec88fSEmmanuel Vadot #address-cells = <1>; 52c66ec88fSEmmanuel Vadot #size-cells = <1>; 53c66ec88fSEmmanuel Vadot 54c66ec88fSEmmanuel Vadot compatible = "simple-bus"; 55c66ec88fSEmmanuel Vadot ranges; 56c66ec88fSEmmanuel Vadot 57c66ec88fSEmmanuel Vadot clkctl: clock-controller@fff8c004 { 58c66ec88fSEmmanuel Vadot compatible = "brcm,bcm3368-clocks"; 59c66ec88fSEmmanuel Vadot reg = <0xfff8c004 0x4>; 60c66ec88fSEmmanuel Vadot #clock-cells = <1>; 61c66ec88fSEmmanuel Vadot }; 62c66ec88fSEmmanuel Vadot 63c66ec88fSEmmanuel Vadot periph_cntl: syscon@fff8c008 { 64c66ec88fSEmmanuel Vadot compatible = "syscon"; 65*2eb4d8dcSEmmanuel Vadot reg = <0xfff8c008 0x4>; 66c66ec88fSEmmanuel Vadot native-endian; 67c66ec88fSEmmanuel Vadot }; 68c66ec88fSEmmanuel Vadot 69c66ec88fSEmmanuel Vadot reboot: syscon-reboot@fff8c008 { 70c66ec88fSEmmanuel Vadot compatible = "syscon-reboot"; 71c66ec88fSEmmanuel Vadot regmap = <&periph_cntl>; 72c66ec88fSEmmanuel Vadot offset = <0x0>; 73c66ec88fSEmmanuel Vadot mask = <0x1>; 74c66ec88fSEmmanuel Vadot }; 75c66ec88fSEmmanuel Vadot 76c66ec88fSEmmanuel Vadot periph_intc: interrupt-controller@fff8c00c { 77c66ec88fSEmmanuel Vadot compatible = "brcm,bcm6345-l1-intc"; 78c66ec88fSEmmanuel Vadot reg = <0xfff8c00c 0x8>; 79c66ec88fSEmmanuel Vadot 80c66ec88fSEmmanuel Vadot interrupt-controller; 81c66ec88fSEmmanuel Vadot #interrupt-cells = <1>; 82c66ec88fSEmmanuel Vadot 83c66ec88fSEmmanuel Vadot interrupt-parent = <&cpu_intc>; 84c66ec88fSEmmanuel Vadot interrupts = <2>; 85c66ec88fSEmmanuel Vadot }; 86c66ec88fSEmmanuel Vadot 87c66ec88fSEmmanuel Vadot uart0: serial@fff8c100 { 88c66ec88fSEmmanuel Vadot compatible = "brcm,bcm6345-uart"; 89c66ec88fSEmmanuel Vadot reg = <0xfff8c100 0x18>; 90c66ec88fSEmmanuel Vadot 91c66ec88fSEmmanuel Vadot interrupt-parent = <&periph_intc>; 92c66ec88fSEmmanuel Vadot interrupts = <2>; 93c66ec88fSEmmanuel Vadot 94c66ec88fSEmmanuel Vadot clocks = <&periph_clk>; 95c66ec88fSEmmanuel Vadot clock-names = "refclk"; 96c66ec88fSEmmanuel Vadot 97c66ec88fSEmmanuel Vadot status = "disabled"; 98c66ec88fSEmmanuel Vadot }; 99c66ec88fSEmmanuel Vadot 100c66ec88fSEmmanuel Vadot uart1: serial@fff8c120 { 101c66ec88fSEmmanuel Vadot compatible = "brcm,bcm6345-uart"; 102c66ec88fSEmmanuel Vadot reg = <0xfff8c120 0x18>; 103c66ec88fSEmmanuel Vadot 104c66ec88fSEmmanuel Vadot interrupt-parent = <&periph_intc>; 105c66ec88fSEmmanuel Vadot interrupts = <3>; 106c66ec88fSEmmanuel Vadot 107c66ec88fSEmmanuel Vadot clocks = <&periph_clk>; 108c66ec88fSEmmanuel Vadot clock-names = "refclk"; 109c66ec88fSEmmanuel Vadot 110c66ec88fSEmmanuel Vadot status = "disabled"; 111c66ec88fSEmmanuel Vadot }; 112c66ec88fSEmmanuel Vadot }; 113c66ec88fSEmmanuel Vadot}; 114