Linux Audio

Check our new training course

Loading...
v4.17
 
  1/*
  2 * a3m071 board Device Tree Source
  3 *
  4 * Copyright 2012 Stefan Roese <sr@denx.de>
  5 *
  6 * Copyright (C) 2011 DENX Software Engineering GmbH
  7 * Heiko Schocher <hs@denx.de>
  8 *
  9 * Copyright (C) 2007 Semihalf
 10 * Marian Balakowicz <m8@semihalf.com>
 11 *
 12 * This program is free software; you can redistribute  it and/or modify it
 13 * under  the terms of  the GNU General  Public License as published by the
 14 * Free Software Foundation;  either version 2 of the  License, or (at your
 15 * option) any later version.
 16 */
 17
 18/include/ "mpc5200b.dtsi"
 19
 20&gpt0 { fsl,has-wdt; };
 21
 22/ {
 23	model = "anonymous,a3m071";
 24	compatible = "anonymous,a3m071";
 25
 26	soc5200@f0000000 {
 27		#address-cells = <1>;
 28		#size-cells = <1>;
 29		compatible = "fsl,mpc5200b-immr";
 30		ranges = <0 0xf0000000 0x0000c000>;
 31		reg = <0xf0000000 0x00000100>;
 32		bus-frequency = <0>; /* From boot loader */
 33		system-frequency = <0>; /* From boot loader */
 34
 35		spi@f00 {
 36			status = "disabled";
 37		};
 38
 39		usb: usb@1000 {
 40			status = "disabled";
 41		};
 42
 43		psc@2000 {
 44			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
 45			reg = <0x2000 0x100>;
 46			interrupts = <2 1 0>;
 47		};
 48
 49		psc@2200 {
 50			status = "disabled";
 51		};
 52
 53		psc@2400 {
 54			status = "disabled";
 55		};
 56
 57		psc@2600 {
 58			status = "disabled";
 59		};
 60
 61		psc@2800 {
 62			status = "disabled";
 63		};
 64
 65		psc@2c00 {		// PSC6
 66			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
 67			reg = <0x2c00 0x100>;
 68			interrupts = <2 4 0>;
 69		};
 70
 71		ethernet@3000 {
 72			phy-handle = <&phy0>;
 73		};
 74
 75		mdio@3000 {
 76			phy0: ethernet-phy@3 {
 77				reg = <0x03>;
 78			};
 79		};
 80
 81		ata@3a00 {
 82			status = "disabled";
 83		};
 84
 85		i2c@3d00 {
 86			status = "disabled";
 87		};
 88
 89		i2c@3d40 {
 90			status = "disabled";
 91		};
 92	};
 93
 94	localbus {
 95		compatible = "fsl,mpc5200b-lpb","simple-bus";
 96		#address-cells = <2>;
 97		#size-cells = <1>;
 98		ranges = <0 0 0xfc000000 0x02000000
 99			  3 0 0xe9000000 0x00080000
100			  5 0 0xe8000000 0x00010000>;
101
102		flash@0,0 {
103			#address-cells = <1>;
104			#size-cells = <1>;
105			reg = <0 0x0 0x02000000>;
106			compatible = "cfi-flash";
107			bank-width = <2>;
108			partition@0 {
109				label = "u-boot";
110				reg = <0x00000000 0x00040000>;
111				read-only;
112			};
113			partition@40000 {
114				label = "env";
115				reg = <0x00040000 0x00020000>;
116			};
117			partition@60000 {
118				label = "dtb";
119				reg = <0x00060000 0x00020000>;
120			};
121			partition@80000 {
122				label = "kernel";
123				reg = <0x00080000 0x00500000>;
124			};
125			partition@580000 {
126				label = "root";
127				reg = <0x00580000 0x00A80000>;
128			};
129		};
130
131		fpga@3,0 {
132			compatible = "anonymous,a3m071-fpga";
133			reg = <3 0x0 0x00080000
134			       5 0x0 0x00010000>;
135			interrupts = <0 0 3>;  /* level low */
136		};
137	};
138
139	pci@f0000d00 {
140		status = "disabled";
141	};
142};
v6.8
  1// SPDX-License-Identifier: GPL-2.0-or-later
  2/*
  3 * a3m071 board Device Tree Source
  4 *
  5 * Copyright 2012 Stefan Roese <sr@denx.de>
  6 *
  7 * Copyright (C) 2011 DENX Software Engineering GmbH
  8 * Heiko Schocher <hs@denx.de>
  9 *
 10 * Copyright (C) 2007 Semihalf
 11 * Marian Balakowicz <m8@semihalf.com>
 
 
 
 
 
 12 */
 13
 14/include/ "mpc5200b.dtsi"
 15
 16&gpt0 { fsl,has-wdt; };
 17
 18/ {
 19	model = "anonymous,a3m071";
 20	compatible = "anonymous,a3m071";
 21
 22	soc5200@f0000000 {
 23		#address-cells = <1>;
 24		#size-cells = <1>;
 25		compatible = "fsl,mpc5200b-immr";
 26		ranges = <0 0xf0000000 0x0000c000>;
 27		reg = <0xf0000000 0x00000100>;
 28		bus-frequency = <0>; /* From boot loader */
 29		system-frequency = <0>; /* From boot loader */
 30
 31		spi@f00 {
 32			status = "disabled";
 33		};
 34
 35		usb: usb@1000 {
 36			status = "disabled";
 37		};
 38
 39		psc@2000 {
 40			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
 41			reg = <0x2000 0x100>;
 42			interrupts = <2 1 0>;
 43		};
 44
 45		psc@2200 {
 46			status = "disabled";
 47		};
 48
 49		psc@2400 {
 50			status = "disabled";
 51		};
 52
 53		psc@2600 {
 54			status = "disabled";
 55		};
 56
 57		psc@2800 {
 58			status = "disabled";
 59		};
 60
 61		psc@2c00 {		// PSC6
 62			compatible = "fsl,mpc5200b-psc-uart","fsl,mpc5200-psc-uart";
 63			reg = <0x2c00 0x100>;
 64			interrupts = <2 4 0>;
 65		};
 66
 67		ethernet@3000 {
 68			phy-handle = <&phy0>;
 69		};
 70
 71		mdio@3000 {
 72			phy0: ethernet-phy@3 {
 73				reg = <0x03>;
 74			};
 75		};
 76
 77		ata@3a00 {
 78			status = "disabled";
 79		};
 80
 81		i2c@3d00 {
 82			status = "disabled";
 83		};
 84
 85		i2c@3d40 {
 86			status = "disabled";
 87		};
 88	};
 89
 90	localbus {
 91		compatible = "fsl,mpc5200b-lpb","simple-bus";
 92		#address-cells = <2>;
 93		#size-cells = <1>;
 94		ranges = <0 0 0xfc000000 0x02000000
 95			  3 0 0xe9000000 0x00080000
 96			  5 0 0xe8000000 0x00010000>;
 97
 98		flash@0,0 {
 99			#address-cells = <1>;
100			#size-cells = <1>;
101			reg = <0 0x0 0x02000000>;
102			compatible = "cfi-flash";
103			bank-width = <2>;
104			partition@0 {
105				label = "u-boot";
106				reg = <0x00000000 0x00040000>;
107				read-only;
108			};
109			partition@40000 {
110				label = "env";
111				reg = <0x00040000 0x00020000>;
112			};
113			partition@60000 {
114				label = "dtb";
115				reg = <0x00060000 0x00020000>;
116			};
117			partition@80000 {
118				label = "kernel";
119				reg = <0x00080000 0x00500000>;
120			};
121			partition@580000 {
122				label = "root";
123				reg = <0x00580000 0x00A80000>;
124			};
125		};
126
127		fpga@3,0 {
128			compatible = "anonymous,a3m071-fpga";
129			reg = <3 0x0 0x00080000
130			       5 0x0 0x00010000>;
131			interrupts = <0 0 3>;  /* level low */
132		};
133	};
134
135	pci@f0000d00 {
136		status = "disabled";
137	};
138};