xref: /freebsd/sys/contrib/device-tree/src/arm/marvell/armada-xp-98dx4251.dtsi (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Device Tree Include file for Marvell 98dx4521 family SoC
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright (C) 2016 Allied Telesis Labs
6*f126890aSEmmanuel Vadot *
7*f126890aSEmmanuel Vadot * Contains definitions specific to the 98dx4521 SoC that are not
8*f126890aSEmmanuel Vadot * common to all Armada XP SoCs.
9*f126890aSEmmanuel Vadot */
10*f126890aSEmmanuel Vadot
11*f126890aSEmmanuel Vadot#include "armada-xp-98dx3236.dtsi"
12*f126890aSEmmanuel Vadot
13*f126890aSEmmanuel Vadot/ {
14*f126890aSEmmanuel Vadot	model = "Marvell 98DX4251 SoC";
15*f126890aSEmmanuel Vadot	compatible = "marvell,armadaxp-98dx4251", "marvell,armadaxp-98dx3236", "marvell,armada-370-xp";
16*f126890aSEmmanuel Vadot
17*f126890aSEmmanuel Vadot	cpus {
18*f126890aSEmmanuel Vadot		cpu@1 {
19*f126890aSEmmanuel Vadot			device_type = "cpu";
20*f126890aSEmmanuel Vadot			compatible = "marvell,sheeva-v7";
21*f126890aSEmmanuel Vadot			reg = <1>;
22*f126890aSEmmanuel Vadot			clocks = <&cpuclk 1>;
23*f126890aSEmmanuel Vadot			clock-latency = <1000000>;
24*f126890aSEmmanuel Vadot		};
25*f126890aSEmmanuel Vadot	};
26*f126890aSEmmanuel Vadot
27*f126890aSEmmanuel Vadot	soc {
28*f126890aSEmmanuel Vadot		internal-regs {
29*f126890aSEmmanuel Vadot			resume@20980 {
30*f126890aSEmmanuel Vadot				compatible = "marvell,98dx3336-resume-ctrl";
31*f126890aSEmmanuel Vadot				reg = <0x20980 0x10>;
32*f126890aSEmmanuel Vadot			};
33*f126890aSEmmanuel Vadot		};
34*f126890aSEmmanuel Vadot	};
35*f126890aSEmmanuel Vadot};
36*f126890aSEmmanuel Vadot
37*f126890aSEmmanuel Vadot&sdio {
38*f126890aSEmmanuel Vadot	status = "okay";
39*f126890aSEmmanuel Vadot};
40*f126890aSEmmanuel Vadot
41*f126890aSEmmanuel Vadot&pinctrl {
42*f126890aSEmmanuel Vadot	compatible = "marvell,98dx4251-pinctrl";
43*f126890aSEmmanuel Vadot
44*f126890aSEmmanuel Vadot	sdio_pins: sdio-pins {
45*f126890aSEmmanuel Vadot		marvell,pins = "mpp5", "mpp6", "mpp7",
46*f126890aSEmmanuel Vadot			       "mpp8", "mpp9", "mpp10";
47*f126890aSEmmanuel Vadot		marvell,function = "sd0";
48*f126890aSEmmanuel Vadot	};
49*f126890aSEmmanuel Vadot};
50*f126890aSEmmanuel Vadot
51*f126890aSEmmanuel Vadot&pp0 {
52*f126890aSEmmanuel Vadot	compatible = "marvell,prestera-98dx4251", "marvell,prestera";
53*f126890aSEmmanuel Vadot	interrupts = <33>, <34>, <35>, <36>;
54*f126890aSEmmanuel Vadot};
55