Linux Audio

Check our new training course

Loading...
v5.4
  1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
  2/*
  3 * Device Tree file for Marvell Armada 388 Reference Design board
  4 * (RD-88F6820-AP)
  5 *
  6 *  Copyright (C) 2014 Marvell
  7 *
  8 * Gregory CLEMENT <gregory.clement@free-electrons.com>
  9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 10 */
 11
 12/dts-v1/;
 13#include "armada-388.dtsi"
 14
 15/ {
 16	model = "Marvell Armada 385 Reference Design";
 17	compatible = "marvell,a385-rd", "marvell,armada388",
 18		"marvell,armada385","marvell,armada380";
 19
 20	chosen {
 21		stdout-path = "serial0:115200n8";
 22	};
 23
 24	memory {
 25		device_type = "memory";
 26		reg = <0x00000000 0x10000000>; /* 256 MB */
 27	};
 28
 29	soc {
 30		ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
 31			  MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000
 32			  MBUS_ID(0x09, 0x19) 0 0xf1100000 0x10000
 33			  MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000>;
 34
 35		internal-regs {
 
 
 
 
 
 
 
 
 
 
 
 
 36			i2c@11000 {
 37				status = "okay";
 38				clock-frequency = <100000>;
 39			};
 40
 41			sdhci@d8000 {
 42				pinctrl-names = "default";
 43				pinctrl-0 = <&sdhci_pins>;
 44				broken-cd;
 45				no-1-8-v;
 46				wp-inverted;
 47				bus-width = <8>;
 48				status = "okay";
 49			};
 50
 51			serial@12000 {
 52				status = "okay";
 53			};
 54
 55			ethernet@30000 {
 56				status = "okay";
 57				phy = <&phy0>;
 58				phy-mode = "rgmii-id";
 59			};
 60
 61			ethernet@70000 {
 62				status = "okay";
 63				phy = <&phy1>;
 64				phy-mode = "rgmii-id";
 65			};
 66
 67
 68			mdio@72004 {
 69				phy0: ethernet-phy@0 {
 70					reg = <0>;
 71				};
 72
 73				phy1: ethernet-phy@1 {
 74					reg = <1>;
 75				};
 76			};
 77
 78			usb3@f0000 {
 79				status = "okay";
 80			};
 81		};
 82
 83		pcie {
 84			status = "okay";
 85			/*
 86			 * One PCIe units is accessible through
 87			 * standard PCIe slot on the board.
 88			 */
 89			pcie@1,0 {
 90				/* Port 0, Lane 0 */
 91				status = "okay";
 92			};
 93		};
 94	};
 95};
 96
 97&spi0 {
 98	status = "okay";
 99
100	spi-flash@0 {
101		#address-cells = <1>;
102		#size-cells = <1>;
103		compatible = "st,m25p128", "jedec,spi-nor";
104		reg = <0>; /* Chip select 0 */
105		spi-max-frequency = <108000000>;
106	};
107};
108
v4.6
 
  1/*
  2 * Device Tree file for Marvell Armada 388 Reference Design board
  3 * (RD-88F6820-AP)
  4 *
  5 *  Copyright (C) 2014 Marvell
  6 *
  7 * Gregory CLEMENT <gregory.clement@free-electrons.com>
  8 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
  9 *
 10 * This file is dual-licensed: you can use it either under the terms
 11 * of the GPL or the X11 license, at your option. Note that this dual
 12 * licensing only applies to this file, and not this project as a
 13 * whole.
 14 *
 15 *  a) This file is free software; you can redistribute it and/or
 16 *     modify it under the terms of the GNU General Public License as
 17 *     published by the Free Software Foundation; either version 2 of the
 18 *     License, or (at your option) any later version.
 19 *
 20 *     This file is distributed in the hope that it will be useful
 21 *     but WITHOUT ANY WARRANTY; without even the implied warranty of
 22 *     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 23 *     GNU General Public License for more details.
 24 *
 25 * Or, alternatively
 26 *
 27 *  b) Permission is hereby granted, free of charge, to any person
 28 *     obtaining a copy of this software and associated documentation
 29 *     files (the "Software"), to deal in the Software without
 30 *     restriction, including without limitation the rights to use
 31 *     copy, modify, merge, publish, distribute, sublicense, and/or
 32 *     sell copies of the Software, and to permit persons to whom the
 33 *     Software is furnished to do so, subject to the following
 34 *     conditions:
 35 *
 36 *     The above copyright notice and this permission notice shall be
 37 *     included in all copies or substantial portions of the Software.
 38 *
 39 *     THE SOFTWARE IS PROVIDED , WITHOUT WARRANTY OF ANY KIND
 40 *     EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
 41 *     OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
 42 *     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
 43 *     HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY
 44 *     WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 45 *     FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
 46 *     OTHER DEALINGS IN THE SOFTWARE.
 47 */
 48
 49/dts-v1/;
 50#include "armada-388.dtsi"
 51
 52/ {
 53	model = "Marvell Armada 385 Reference Design";
 54	compatible = "marvell,a385-rd", "marvell,armada388",
 55		"marvell,armada385","marvell,armada380";
 56
 57	chosen {
 58		stdout-path = "serial0:115200n8";
 59	};
 60
 61	memory {
 62		device_type = "memory";
 63		reg = <0x00000000 0x10000000>; /* 256 MB */
 64	};
 65
 66	soc {
 67		ranges = <MBUS_ID(0xf0, 0x01) 0 0xf1000000 0x100000
 68			  MBUS_ID(0x01, 0x1d) 0 0xfff00000 0x100000
 69			  MBUS_ID(0x09, 0x19) 0 0xf1100000 0x10000
 70			  MBUS_ID(0x09, 0x15) 0 0xf1110000 0x10000>;
 71
 72		internal-regs {
 73			spi@10600 {
 74				status = "okay";
 75
 76				spi-flash@0 {
 77					#address-cells = <1>;
 78					#size-cells = <1>;
 79					compatible = "st,m25p128", "jedec,spi-nor";
 80					reg = <0>; /* Chip select 0 */
 81					spi-max-frequency = <108000000>;
 82				};
 83			};
 84
 85			i2c@11000 {
 86				status = "okay";
 87				clock-frequency = <100000>;
 88			};
 89
 90			sdhci@d8000 {
 91				pinctrl-names = "default";
 92				pinctrl-0 = <&sdhci_pins>;
 93				broken-cd;
 94				no-1-8-v;
 95				wp-inverted;
 96				bus-width = <8>;
 97				status = "okay";
 98			};
 99
100			serial@12000 {
101				status = "okay";
102			};
103
104			ethernet@30000 {
105				status = "okay";
106				phy = <&phy0>;
107				phy-mode = "rgmii-id";
108			};
109
110			ethernet@70000 {
111				status = "okay";
112				phy = <&phy1>;
113				phy-mode = "rgmii-id";
114			};
115
116
117			mdio@72004 {
118				phy0: ethernet-phy@0 {
119					reg = <0>;
120				};
121
122				phy1: ethernet-phy@1 {
123					reg = <1>;
124				};
125			};
126
127			usb3@f0000 {
128				status = "okay";
129			};
130		};
131
132		pcie-controller {
133			status = "okay";
134			/*
135			 * One PCIe units is accessible through
136			 * standard PCIe slot on the board.
137			 */
138			pcie@1,0 {
139				/* Port 0, Lane 0 */
140				status = "okay";
141			};
142		};
143	};
144};