Linux Audio

Check our new training course

In-person Linux kernel drivers training

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