1*724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0
2*724ba675SRob Herring/*
3*724ba675SRob Herring * kirkwood-sheevaplug-common.dtsi - Common parts for Sheevaplugs
4*724ba675SRob Herring *
5*724ba675SRob Herring * Copyright (C) 2013 Simon Baatz <gmbnomis@gmail.com>
6*724ba675SRob Herring */
7*724ba675SRob Herring
8*724ba675SRob Herring#include "kirkwood.dtsi"
9*724ba675SRob Herring#include "kirkwood-6281.dtsi"
10*724ba675SRob Herring
11*724ba675SRob Herring/ {
12*724ba675SRob Herring	memory {
13*724ba675SRob Herring		device_type = "memory";
14*724ba675SRob Herring		reg = <0x00000000 0x20000000>;
15*724ba675SRob Herring	};
16*724ba675SRob Herring
17*724ba675SRob Herring	chosen {
18*724ba675SRob Herring		bootargs = "console=ttyS0,115200n8 earlyprintk";
19*724ba675SRob Herring		stdout-path = &uart0;
20*724ba675SRob Herring	};
21*724ba675SRob Herring
22*724ba675SRob Herring	ocp@f1000000 {
23*724ba675SRob Herring		pinctrl: pin-controller@10000 {
24*724ba675SRob Herring
25*724ba675SRob Herring			pmx_usb_power_enable: pmx-usb-power-enable {
26*724ba675SRob Herring				marvell,pins = "mpp29";
27*724ba675SRob Herring				marvell,function = "gpio";
28*724ba675SRob Herring			};
29*724ba675SRob Herring			pmx_led_red: pmx-led-red {
30*724ba675SRob Herring				marvell,pins = "mpp46";
31*724ba675SRob Herring				marvell,function = "gpio";
32*724ba675SRob Herring			};
33*724ba675SRob Herring			pmx_led_blue: pmx-led-blue {
34*724ba675SRob Herring				marvell,pins = "mpp49";
35*724ba675SRob Herring				marvell,function = "gpio";
36*724ba675SRob Herring			};
37*724ba675SRob Herring			pmx_sdio_cd: pmx-sdio-cd {
38*724ba675SRob Herring				marvell,pins = "mpp44";
39*724ba675SRob Herring				marvell,function = "gpio";
40*724ba675SRob Herring			};
41*724ba675SRob Herring			pmx_sdio_wp: pmx-sdio-wp {
42*724ba675SRob Herring				marvell,pins = "mpp47";
43*724ba675SRob Herring				marvell,function = "gpio";
44*724ba675SRob Herring			};
45*724ba675SRob Herring		};
46*724ba675SRob Herring		serial@12000 {
47*724ba675SRob Herring			status = "okay";
48*724ba675SRob Herring		};
49*724ba675SRob Herring	};
50*724ba675SRob Herring
51*724ba675SRob Herring	regulators {
52*724ba675SRob Herring		compatible = "simple-bus";
53*724ba675SRob Herring		#address-cells = <1>;
54*724ba675SRob Herring		#size-cells = <0>;
55*724ba675SRob Herring		pinctrl-0 = <&pmx_usb_power_enable>;
56*724ba675SRob Herring		pinctrl-names = "default";
57*724ba675SRob Herring
58*724ba675SRob Herring		usb_power: regulator@1 {
59*724ba675SRob Herring			compatible = "regulator-fixed";
60*724ba675SRob Herring			reg = <1>;
61*724ba675SRob Herring			regulator-name = "USB Power";
62*724ba675SRob Herring			regulator-min-microvolt = <5000000>;
63*724ba675SRob Herring			regulator-max-microvolt = <5000000>;
64*724ba675SRob Herring			enable-active-high;
65*724ba675SRob Herring			regulator-always-on;
66*724ba675SRob Herring			regulator-boot-on;
67*724ba675SRob Herring			gpio = <&gpio0 29 0>;
68*724ba675SRob Herring		};
69*724ba675SRob Herring	};
70*724ba675SRob Herring};
71*724ba675SRob Herring
72*724ba675SRob Herring&nand {
73*724ba675SRob Herring	status = "okay";
74*724ba675SRob Herring
75*724ba675SRob Herring	partition@0 {
76*724ba675SRob Herring		label = "u-boot";
77*724ba675SRob Herring		reg = <0x0000000 0x100000>;
78*724ba675SRob Herring	};
79*724ba675SRob Herring
80*724ba675SRob Herring	partition@100000 {
81*724ba675SRob Herring		label = "uImage";
82*724ba675SRob Herring		reg = <0x0100000 0x400000>;
83*724ba675SRob Herring	};
84*724ba675SRob Herring
85*724ba675SRob Herring	partition@500000 {
86*724ba675SRob Herring		label = "root";
87*724ba675SRob Herring		reg = <0x0500000 0x1fb00000>;
88*724ba675SRob Herring	};
89*724ba675SRob Herring};
90*724ba675SRob Herring
91*724ba675SRob Herring&mdio {
92*724ba675SRob Herring	status = "okay";
93*724ba675SRob Herring
94*724ba675SRob Herring	ethphy0: ethernet-phy@0 {
95*724ba675SRob Herring		reg = <0>;
96*724ba675SRob Herring	};
97*724ba675SRob Herring};
98*724ba675SRob Herring
99*724ba675SRob Herring&eth0 {
100*724ba675SRob Herring	status = "okay";
101*724ba675SRob Herring	ethernet0-port@0 {
102*724ba675SRob Herring		phy-handle = <&ethphy0>;
103*724ba675SRob Herring	};
104*724ba675SRob Herring};
105