xref: /freebsd/sys/contrib/device-tree/src/powerpc/sbc8548.dts (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0-or-later
2*c66ec88fSEmmanuel Vadot/*
3*c66ec88fSEmmanuel Vadot * SBC8548 Device Tree Source
4*c66ec88fSEmmanuel Vadot *
5*c66ec88fSEmmanuel Vadot * Copyright 2007 Wind River Systems Inc.
6*c66ec88fSEmmanuel Vadot *
7*c66ec88fSEmmanuel Vadot * Paul Gortmaker (see MAINTAINERS for contact information)
8*c66ec88fSEmmanuel Vadot */
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel Vadot
11*c66ec88fSEmmanuel Vadot/dts-v1/;
12*c66ec88fSEmmanuel Vadot
13*c66ec88fSEmmanuel Vadot/include/ "sbc8548-pre.dtsi"
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel Vadot/{
16*c66ec88fSEmmanuel Vadot	localbus@e0000000 {
17*c66ec88fSEmmanuel Vadot		#address-cells = <2>;
18*c66ec88fSEmmanuel Vadot		#size-cells = <1>;
19*c66ec88fSEmmanuel Vadot		compatible = "simple-bus";
20*c66ec88fSEmmanuel Vadot		reg = <0xe0000000 0x5000>;
21*c66ec88fSEmmanuel Vadot		interrupt-parent = <&mpic>;
22*c66ec88fSEmmanuel Vadot
23*c66ec88fSEmmanuel Vadot		ranges = <0x0 0x0 0xff800000 0x00800000		/*8MB Flash*/
24*c66ec88fSEmmanuel Vadot			  0x3 0x0 0xf0000000 0x04000000		/*64MB SDRAM*/
25*c66ec88fSEmmanuel Vadot			  0x4 0x0 0xf4000000 0x04000000 	/*64MB SDRAM*/
26*c66ec88fSEmmanuel Vadot			  0x5 0x0 0xf8000000 0x00b10000		/* EPLD */
27*c66ec88fSEmmanuel Vadot			  0x6 0x0 0xec000000 0x04000000>;	/*64MB Flash*/
28*c66ec88fSEmmanuel Vadot
29*c66ec88fSEmmanuel Vadot
30*c66ec88fSEmmanuel Vadot		flash@0,0 {
31*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
32*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
33*c66ec88fSEmmanuel Vadot			compatible = "intel,JS28F640", "cfi-flash";
34*c66ec88fSEmmanuel Vadot			reg = <0x0 0x0 0x800000>;
35*c66ec88fSEmmanuel Vadot			bank-width = <1>;
36*c66ec88fSEmmanuel Vadot			device-width = <1>;
37*c66ec88fSEmmanuel Vadot			partition@0 {
38*c66ec88fSEmmanuel Vadot				label = "space";
39*c66ec88fSEmmanuel Vadot				/* FF800000 -> FFF9FFFF */
40*c66ec88fSEmmanuel Vadot				reg = <0x00000000 0x007a0000>;
41*c66ec88fSEmmanuel Vadot			};
42*c66ec88fSEmmanuel Vadot			partition@7a0000 {
43*c66ec88fSEmmanuel Vadot				label = "bootloader";
44*c66ec88fSEmmanuel Vadot				/* FFFA0000 -> FFFFFFFF */
45*c66ec88fSEmmanuel Vadot				reg = <0x007a0000 0x00060000>;
46*c66ec88fSEmmanuel Vadot				read-only;
47*c66ec88fSEmmanuel Vadot			};
48*c66ec88fSEmmanuel Vadot		};
49*c66ec88fSEmmanuel Vadot
50*c66ec88fSEmmanuel Vadot		epld@5,0 {
51*c66ec88fSEmmanuel Vadot			compatible = "wrs,epld-localbus";
52*c66ec88fSEmmanuel Vadot			#address-cells = <2>;
53*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
54*c66ec88fSEmmanuel Vadot			reg = <0x5 0x0 0x00b10000>;
55*c66ec88fSEmmanuel Vadot			ranges = <
56*c66ec88fSEmmanuel Vadot				0x0 0x0 0x5 0x000000 0x1fff	/* LED */
57*c66ec88fSEmmanuel Vadot				0x1 0x0 0x5 0x100000 0x1fff	/* Switches */
58*c66ec88fSEmmanuel Vadot				0x3 0x0 0x5 0x300000 0x1fff	/* HW Rev. */
59*c66ec88fSEmmanuel Vadot				0xb 0x0	0x5 0xb00000 0x1fff	/* EEPROM */
60*c66ec88fSEmmanuel Vadot			>;
61*c66ec88fSEmmanuel Vadot
62*c66ec88fSEmmanuel Vadot			led@0,0 {
63*c66ec88fSEmmanuel Vadot				compatible = "led";
64*c66ec88fSEmmanuel Vadot				reg = <0x0 0x0 0x1fff>;
65*c66ec88fSEmmanuel Vadot			};
66*c66ec88fSEmmanuel Vadot
67*c66ec88fSEmmanuel Vadot			switches@1,0 {
68*c66ec88fSEmmanuel Vadot				compatible = "switches";
69*c66ec88fSEmmanuel Vadot				reg = <0x1 0x0 0x1fff>;
70*c66ec88fSEmmanuel Vadot			};
71*c66ec88fSEmmanuel Vadot
72*c66ec88fSEmmanuel Vadot			hw-rev@3,0 {
73*c66ec88fSEmmanuel Vadot				compatible = "hw-rev";
74*c66ec88fSEmmanuel Vadot				reg = <0x3 0x0 0x1fff>;
75*c66ec88fSEmmanuel Vadot			};
76*c66ec88fSEmmanuel Vadot
77*c66ec88fSEmmanuel Vadot			eeprom@b,0 {
78*c66ec88fSEmmanuel Vadot				compatible = "eeprom";
79*c66ec88fSEmmanuel Vadot				reg = <0xb 0 0x1fff>;
80*c66ec88fSEmmanuel Vadot			};
81*c66ec88fSEmmanuel Vadot
82*c66ec88fSEmmanuel Vadot		};
83*c66ec88fSEmmanuel Vadot
84*c66ec88fSEmmanuel Vadot		alt-flash@6,0 {
85*c66ec88fSEmmanuel Vadot			#address-cells = <1>;
86*c66ec88fSEmmanuel Vadot			#size-cells = <1>;
87*c66ec88fSEmmanuel Vadot			reg = <0x6 0x0 0x04000000>;
88*c66ec88fSEmmanuel Vadot			compatible = "intel,JS28F128", "cfi-flash";
89*c66ec88fSEmmanuel Vadot			bank-width = <4>;
90*c66ec88fSEmmanuel Vadot			device-width = <1>;
91*c66ec88fSEmmanuel Vadot			partition@0 {
92*c66ec88fSEmmanuel Vadot				label = "space";
93*c66ec88fSEmmanuel Vadot				/* EC000000 -> EFEFFFFF */
94*c66ec88fSEmmanuel Vadot				reg = <0x00000000 0x03f00000>;
95*c66ec88fSEmmanuel Vadot			};
96*c66ec88fSEmmanuel Vadot			partition@3f00000 {
97*c66ec88fSEmmanuel Vadot				label = "bootloader";
98*c66ec88fSEmmanuel Vadot				/* EFF00000 -> EFFFFFFF */
99*c66ec88fSEmmanuel Vadot				reg = <0x03f00000 0x00100000>;
100*c66ec88fSEmmanuel Vadot				read-only;
101*c66ec88fSEmmanuel Vadot			};
102*c66ec88fSEmmanuel Vadot                };
103*c66ec88fSEmmanuel Vadot        };
104*c66ec88fSEmmanuel Vadot};
105*c66ec88fSEmmanuel Vadot
106*c66ec88fSEmmanuel Vadot/include/ "sbc8548-post.dtsi"
107