0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * kirkwood-sheevaplug-common.dtsi - Common parts for Sheevaplugs
0004 *
0005 * Copyright (C) 2013 Simon Baatz <gmbnomis@gmail.com>
0006 */
0007
0008 #include "kirkwood.dtsi"
0009 #include "kirkwood-6281.dtsi"
0010
0011 / {
0012 memory {
0013 device_type = "memory";
0014 reg = <0x00000000 0x20000000>;
0015 };
0016
0017 chosen {
0018 bootargs = "console=ttyS0,115200n8 earlyprintk";
0019 stdout-path = &uart0;
0020 };
0021
0022 ocp@f1000000 {
0023 pinctrl: pin-controller@10000 {
0024
0025 pmx_usb_power_enable: pmx-usb-power-enable {
0026 marvell,pins = "mpp29";
0027 marvell,function = "gpio";
0028 };
0029 pmx_led_red: pmx-led-red {
0030 marvell,pins = "mpp46";
0031 marvell,function = "gpio";
0032 };
0033 pmx_led_blue: pmx-led-blue {
0034 marvell,pins = "mpp49";
0035 marvell,function = "gpio";
0036 };
0037 pmx_sdio_cd: pmx-sdio-cd {
0038 marvell,pins = "mpp44";
0039 marvell,function = "gpio";
0040 };
0041 pmx_sdio_wp: pmx-sdio-wp {
0042 marvell,pins = "mpp47";
0043 marvell,function = "gpio";
0044 };
0045 };
0046 serial@12000 {
0047 status = "okay";
0048 };
0049 };
0050
0051 regulators {
0052 compatible = "simple-bus";
0053 #address-cells = <1>;
0054 #size-cells = <0>;
0055 pinctrl-0 = <&pmx_usb_power_enable>;
0056 pinctrl-names = "default";
0057
0058 usb_power: regulator@1 {
0059 compatible = "regulator-fixed";
0060 reg = <1>;
0061 regulator-name = "USB Power";
0062 regulator-min-microvolt = <5000000>;
0063 regulator-max-microvolt = <5000000>;
0064 enable-active-high;
0065 regulator-always-on;
0066 regulator-boot-on;
0067 gpio = <&gpio0 29 0>;
0068 };
0069 };
0070 };
0071
0072 &nand {
0073 status = "okay";
0074
0075 partition@0 {
0076 label = "u-boot";
0077 reg = <0x0000000 0x100000>;
0078 };
0079
0080 partition@100000 {
0081 label = "uImage";
0082 reg = <0x0100000 0x400000>;
0083 };
0084
0085 partition@500000 {
0086 label = "root";
0087 reg = <0x0500000 0x1fb00000>;
0088 };
0089 };
0090
0091 &mdio {
0092 status = "okay";
0093
0094 ethphy0: ethernet-phy@0 {
0095 reg = <0>;
0096 };
0097 };
0098
0099 ð0 {
0100 status = "okay";
0101 ethernet0-port@0 {
0102 phy-handle = <ðphy0>;
0103 };
0104 };