Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 / {
0003         #address-cells = <1>;
0004         #size-cells = <1>;
0005         compatible = "brcm,bcm3384-viper", "brcm,bcm33843-viper";
0006 
0007         memory@0 {
0008                 device_type = "memory";
0009 
0010                 /* Typical ranges.  The bootloader should fill these in. */
0011                 reg = <0x06000000 0x02000000>,
0012                       <0x0e000000 0x02000000>;
0013         };
0014 
0015         cpus {
0016                 #address-cells = <1>;
0017                 #size-cells = <0>;
0018 
0019                 /* 1/2 of the CPU core clock (standard MIPS behavior) */
0020                 mips-hpt-frequency = <300000000>;
0021 
0022                 cpu@0 {
0023                         compatible = "brcm,bmips4350";
0024                         device_type = "cpu";
0025                         reg = <0>;
0026                 };
0027         };
0028 
0029         cpu_intc: cpu_intc {
0030                 #address-cells = <0>;
0031                 compatible = "mti,cpu-interrupt-controller";
0032 
0033                 interrupt-controller;
0034                 #interrupt-cells = <1>;
0035         };
0036 
0037         clocks {
0038                 periph_clk: periph_clk {
0039                         compatible = "fixed-clock";
0040                         #clock-cells = <0>;
0041                         clock-frequency = <54000000>;
0042                 };
0043         };
0044 
0045         aliases {
0046                 uart0 = &uart0;
0047         };
0048 
0049         ubus {
0050                 #address-cells = <1>;
0051                 #size-cells = <1>;
0052 
0053                 compatible = "brcm,ubus", "simple-bus";
0054                 ranges;
0055                 /* No dma-ranges on Viper. */
0056 
0057                 periph_intc: periph_intc@14e00048 {
0058                         compatible = "brcm,bcm3380-l2-intc";
0059                         reg = <0x14e00048 0x4 0x14e0004c 0x4>,
0060                               <0x14e00350 0x4 0x14e00354 0x4>;
0061 
0062                         interrupt-controller;
0063                         #interrupt-cells = <1>;
0064 
0065                         interrupt-parent = <&cpu_intc>;
0066                         interrupts = <4>;
0067                 };
0068 
0069                 cmips_intc: cmips_intc@151f8048 {
0070                         compatible = "brcm,bcm3380-l2-intc";
0071                         reg = <0x151f8048 0x4 0x151f804c 0x4>;
0072 
0073                         interrupt-controller;
0074                         #interrupt-cells = <1>;
0075 
0076                         interrupt-parent = <&periph_intc>;
0077                         interrupts = <30>;
0078                         brcm,int-map-mask = <0xffffffff>;
0079                 };
0080 
0081                 uart0: serial@14e00520 {
0082                         compatible = "brcm,bcm6345-uart";
0083                         reg = <0x14e00520 0x18>;
0084                         interrupt-parent = <&periph_intc>;
0085                         interrupts = <2>;
0086                         clocks = <&periph_clk>;
0087                         status = "disabled";
0088                 };
0089 
0090                 ehci0: usb@15400300 {
0091                         compatible = "brcm,bcm3384-ehci", "generic-ehci";
0092                         reg = <0x15400300 0x100>;
0093                         big-endian;
0094                         interrupt-parent = <&periph_intc>;
0095                         interrupts = <41>;
0096                         status = "disabled";
0097                 };
0098 
0099                 ohci0: usb@15400400 {
0100                         compatible = "brcm,bcm3384-ohci", "generic-ohci";
0101                         reg = <0x15400400 0x100>;
0102                         big-endian;
0103                         no-big-frame-no;
0104                         interrupt-parent = <&periph_intc>;
0105                         interrupts = <40>;
0106                         status = "disabled";
0107                 };
0108         };
0109 };