xref: /freebsd/sys/contrib/device-tree/src/arm/xilinx/zynq-parallella.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Copyright (c) 2014 SUSE LINUX Products GmbH
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Derived from zynq-zed.dts:
6*f126890aSEmmanuel Vadot *
7*f126890aSEmmanuel Vadot *  Copyright (C) 2011 Xilinx
8*f126890aSEmmanuel Vadot *  Copyright (C) 2012 National Instruments Corp.
9*f126890aSEmmanuel Vadot *  Copyright (C) 2013 Xilinx
10*f126890aSEmmanuel Vadot */
11*f126890aSEmmanuel Vadot/dts-v1/;
12*f126890aSEmmanuel Vadot/include/ "zynq-7000.dtsi"
13*f126890aSEmmanuel Vadot
14*f126890aSEmmanuel Vadot/ {
15*f126890aSEmmanuel Vadot	model = "Adapteva Parallella board";
16*f126890aSEmmanuel Vadot	compatible = "adapteva,parallella", "xlnx,zynq-7000";
17*f126890aSEmmanuel Vadot
18*f126890aSEmmanuel Vadot	aliases {
19*f126890aSEmmanuel Vadot		ethernet0 = &gem0;
20*f126890aSEmmanuel Vadot		serial0 = &uart1;
21*f126890aSEmmanuel Vadot	};
22*f126890aSEmmanuel Vadot
23*f126890aSEmmanuel Vadot	memory@0 {
24*f126890aSEmmanuel Vadot		device_type = "memory";
25*f126890aSEmmanuel Vadot		reg = <0x0 0x40000000>;
26*f126890aSEmmanuel Vadot	};
27*f126890aSEmmanuel Vadot
28*f126890aSEmmanuel Vadot	chosen {
29*f126890aSEmmanuel Vadot		bootargs = "root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait";
30*f126890aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
31*f126890aSEmmanuel Vadot	};
32*f126890aSEmmanuel Vadot};
33*f126890aSEmmanuel Vadot
34*f126890aSEmmanuel Vadot&clkc {
35*f126890aSEmmanuel Vadot	fclk-enable = <0xf>;
36*f126890aSEmmanuel Vadot	ps-clk-frequency = <33333333>;
37*f126890aSEmmanuel Vadot};
38*f126890aSEmmanuel Vadot
39*f126890aSEmmanuel Vadot&gem0 {
40*f126890aSEmmanuel Vadot	status = "okay";
41*f126890aSEmmanuel Vadot	phy-mode = "rgmii-id";
42*f126890aSEmmanuel Vadot	phy-handle = <&ethernet_phy>;
43*f126890aSEmmanuel Vadot
44*f126890aSEmmanuel Vadot	ethernet_phy: ethernet-phy@0 {
45*f126890aSEmmanuel Vadot		/* Marvell 88E1318 */
46*f126890aSEmmanuel Vadot		compatible = "ethernet-phy-id0141.0e90",
47*f126890aSEmmanuel Vadot		             "ethernet-phy-ieee802.3-c22";
48*f126890aSEmmanuel Vadot		reg = <0>;
49*f126890aSEmmanuel Vadot		device_type = "ethernet-phy";
50*f126890aSEmmanuel Vadot		marvell,reg-init = <0x3 0x10 0xff00 0x1e>,
51*f126890aSEmmanuel Vadot		                   <0x3 0x11 0xfff0 0xa>;
52*f126890aSEmmanuel Vadot	};
53*f126890aSEmmanuel Vadot};
54*f126890aSEmmanuel Vadot
55*f126890aSEmmanuel Vadot&i2c0 {
56*f126890aSEmmanuel Vadot	status = "okay";
57*f126890aSEmmanuel Vadot
58*f126890aSEmmanuel Vadot	isl9305: isl9305@68 {
59*f126890aSEmmanuel Vadot		compatible = "isil,isl9305";
60*f126890aSEmmanuel Vadot		reg = <0x68>;
61*f126890aSEmmanuel Vadot
62*f126890aSEmmanuel Vadot		regulators {
63*f126890aSEmmanuel Vadot			dcd1 {
64*f126890aSEmmanuel Vadot				regulator-name = "VDD_DSP";
65*f126890aSEmmanuel Vadot				regulator-always-on;
66*f126890aSEmmanuel Vadot			};
67*f126890aSEmmanuel Vadot			dcd2 {
68*f126890aSEmmanuel Vadot				regulator-name = "1P35V";
69*f126890aSEmmanuel Vadot				regulator-always-on;
70*f126890aSEmmanuel Vadot			};
71*f126890aSEmmanuel Vadot			ldo1 {
72*f126890aSEmmanuel Vadot				regulator-name = "VDD_ADJ";
73*f126890aSEmmanuel Vadot			};
74*f126890aSEmmanuel Vadot			ldo2 {
75*f126890aSEmmanuel Vadot				regulator-name = "VDD_GPIO";
76*f126890aSEmmanuel Vadot				regulator-always-on;
77*f126890aSEmmanuel Vadot			};
78*f126890aSEmmanuel Vadot		};
79*f126890aSEmmanuel Vadot	};
80*f126890aSEmmanuel Vadot};
81*f126890aSEmmanuel Vadot
82*f126890aSEmmanuel Vadot&sdhci1 {
83*f126890aSEmmanuel Vadot	status = "okay";
84*f126890aSEmmanuel Vadot};
85*f126890aSEmmanuel Vadot
86*f126890aSEmmanuel Vadot&uart1 {
87*f126890aSEmmanuel Vadot	status = "okay";
88*f126890aSEmmanuel Vadot};
89