Linux Audio

Check our new training course

Linux kernel drivers training

Mar 31-Apr 9, 2025, special US time zones
Register
Loading...
v4.17
 1/*
 2 *  SPDX-License-Identifier: BSD-3-Clause
 3 *
 4 *  Copyright(c) 2017 Broadcom
 5 *
 6 *  Redistribution and use in source and binary forms, with or without
 7 *  modification, are permitted provided that the following conditions
 8 *  are met:
 9 *
10 *    * Redistributions of source code must retain the above copyright
11 *      notice, this list of conditions and the following disclaimer.
12 *    * Redistributions in binary form must reproduce the above copyright
13 *      notice, this list of conditions and the following disclaimer in
14 *      the documentation and/or other materials provided with the
15 *      distribution.
16 *    * Neither the name of Broadcom nor the names of its contributors
17 *      may be used to endorse or promote products derived from this
18 *      software without specific prior written permission.
19 *
20 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21 *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22 *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23 *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24 *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25 *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26 *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27 *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28 *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29 *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30 *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31 */
32
33/dts-v1/;
34
35#include "bcm4708.dtsi"
36#include "bcm5301x-nand-cs0-bch4.dtsi"
37
38/ {
39	model = "NorthStar HR (BCM953012HR)";
40	compatible = "brcm,bcm953012hr", "brcm,brcm53012", "brcm,bcm4708";
41
42	aliases {
43		ethernet0 = &gmac0;
44		ethernet1 = &gmac1;
45		ethernet2 = &gmac2;
46	};
47
48	memory@80000000 {
 
49		reg = <0x80000000 0x10000000>;
50	};
51};
52
53&nandcs {
54	partition@0 {
55		label = "nboot";
56		reg = <0x00000000 0x00200000>;
57		read-only;
58	};
59	partition@200000 {
60		label = "nenv";
61		reg = <0x00200000 0x00400000>;
62	};
63	partition@600000 {
64		label = "nsystem";
65		reg = <0x00600000 0x00a00000>;
66	};
67	partition@1000000 {
68		label = "nrootfs";
69		reg = <0x01000000 0x07000000>;
70	};
71};
72
73&spi_nor {
74	status = "okay";
75	spi-max-frequency = <62500000>;
76	m25p,default-addr-width = <3>;
77
78	#address-cells = <1>;
79	#size-cells = <1>;
80
81	partition@0 {
82		label = "boot";
83		reg = <0x00000000 0x000d0000>;
84	};
85	partition@d000 {
86		label = "env";
87		reg = <0x000d0000 0x00030000>;
88	};
89	partition@100000 {
90		label = "system";
91		reg = <0x00100000 0x00600000>;
92	};
93	partition@700000 {
94		label = "rootfs";
95		reg = <0x00700000 0x00900000>;
96	};
 
 
 
 
97};
v5.9
  1/*
  2 *  SPDX-License-Identifier: BSD-3-Clause
  3 *
  4 *  Copyright(c) 2017 Broadcom
  5 *
  6 *  Redistribution and use in source and binary forms, with or without
  7 *  modification, are permitted provided that the following conditions
  8 *  are met:
  9 *
 10 *    * Redistributions of source code must retain the above copyright
 11 *      notice, this list of conditions and the following disclaimer.
 12 *    * Redistributions in binary form must reproduce the above copyright
 13 *      notice, this list of conditions and the following disclaimer in
 14 *      the documentation and/or other materials provided with the
 15 *      distribution.
 16 *    * Neither the name of Broadcom nor the names of its contributors
 17 *      may be used to endorse or promote products derived from this
 18 *      software without specific prior written permission.
 19 *
 20 *  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
 21 *  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
 22 *  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
 23 *  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
 24 *  OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
 25 *  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
 26 *  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 27 *  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
 28 *  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
 29 *  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 30 *  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 31 */
 32
 33/dts-v1/;
 34
 35#include "bcm4708.dtsi"
 36#include "bcm5301x-nand-cs0-bch4.dtsi"
 37
 38/ {
 39	model = "NorthStar HR (BCM953012HR)";
 40	compatible = "brcm,bcm953012hr", "brcm,brcm53012", "brcm,bcm4708";
 41
 42	aliases {
 43		ethernet0 = &gmac0;
 44		ethernet1 = &gmac1;
 45		ethernet2 = &gmac2;
 46	};
 47
 48	memory@80000000 {
 49		device_type = "memory";
 50		reg = <0x80000000 0x10000000>;
 51	};
 52};
 53
 54&nandcs {
 55	partition@0 {
 56		label = "nboot";
 57		reg = <0x00000000 0x00200000>;
 58		read-only;
 59	};
 60	partition@200000 {
 61		label = "nenv";
 62		reg = <0x00200000 0x00400000>;
 63	};
 64	partition@600000 {
 65		label = "nsystem";
 66		reg = <0x00600000 0x00a00000>;
 67	};
 68	partition@1000000 {
 69		label = "nrootfs";
 70		reg = <0x01000000 0x07000000>;
 71	};
 72};
 73
 74&spi_nor {
 75	status = "okay";
 76	spi-max-frequency = <62500000>;
 77	m25p,default-addr-width = <3>;
 78
 79	#address-cells = <1>;
 80	#size-cells = <1>;
 81
 82	partition@0 {
 83		label = "boot";
 84		reg = <0x00000000 0x000d0000>;
 85	};
 86	partition@d000 {
 87		label = "env";
 88		reg = <0x000d0000 0x00030000>;
 89	};
 90	partition@100000 {
 91		label = "system";
 92		reg = <0x00100000 0x00600000>;
 93	};
 94	partition@700000 {
 95		label = "rootfs";
 96		reg = <0x00700000 0x00900000>;
 97	};
 98};
 99
100&usb3_phy {
101	status = "okay";
102};