linux-3.12/kirkwood-dns320l.dts
author Andreas Boehler <andreas@aboehler.at>
Fri, 05 Jun 2015 09:50:56 +0200
changeset 9 b6ea190b8868
parent 5 bca986acd412
permissions -rw-r--r--
Add copyright notice to DTS file
5
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
     1
/dts-v1/;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
     2
9
b6ea190b8868 Add copyright notice to DTS file
Andreas Boehler <andreas@aboehler.at>
parents: 5
diff changeset
     3
/*
b6ea190b8868 Add copyright notice to DTS file
Andreas Boehler <andreas@aboehler.at>
parents: 5
diff changeset
     4
 * Device Tree file for DLINK DNS-320L
b6ea190b8868 Add copyright notice to DTS file
Andreas Boehler <andreas@aboehler.at>
parents: 5
diff changeset
     5
 *
b6ea190b8868 Add copyright notice to DTS file
Andreas Boehler <andreas@aboehler.at>
parents: 5
diff changeset
     6
 * Copyright (C) 2014, Andreas Boehler <dev@aboehler.at>
b6ea190b8868 Add copyright notice to DTS file
Andreas Boehler <andreas@aboehler.at>
parents: 5
diff changeset
     7
 *
b6ea190b8868 Add copyright notice to DTS file
Andreas Boehler <andreas@aboehler.at>
parents: 5
diff changeset
     8
 * This program is free software; you can redistribute it and/or
b6ea190b8868 Add copyright notice to DTS file
Andreas Boehler <andreas@aboehler.at>
parents: 5
diff changeset
     9
 * modify it under the terms of the GNU General Public License
b6ea190b8868 Add copyright notice to DTS file
Andreas Boehler <andreas@aboehler.at>
parents: 5
diff changeset
    10
 * as published by the Free Software Foundation; either version
b6ea190b8868 Add copyright notice to DTS file
Andreas Boehler <andreas@aboehler.at>
parents: 5
diff changeset
    11
 * 2 of the License, or (at your option) any later version.
b6ea190b8868 Add copyright notice to DTS file
Andreas Boehler <andreas@aboehler.at>
parents: 5
diff changeset
    12
 */
b6ea190b8868 Add copyright notice to DTS file
Andreas Boehler <andreas@aboehler.at>
parents: 5
diff changeset
    13
5
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    14
#include "kirkwood.dtsi"
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    15
#include "kirkwood-6281.dtsi"
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    16
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    17
/ {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    18
	model = "D-Link DNS-320L";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    19
	compatible = "dlink,dns-320l", "marvell,kirkwood-88f6702", "marvell,kirkwood";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    20
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    21
	memory {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    22
		device_type = "memory";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    23
		reg = <0x00000000 0x10000000>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    24
	};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    25
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    26
	chosen {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    27
		bootargs = "console=ttyS0,115200 earlyprintk";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    28
	};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    29
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    30
	ocp@f1000000 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    31
		serial@12000 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    32
			status = "okay";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    33
		};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    34
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    35
		serial@12100 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    36
			pinctrl-0 = <&pmx_uart1>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    37
			pinctrl-names = "default";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    38
			status = "okay";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    39
		};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    40
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    41
		pinctrl: pinctrl@10000 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    42
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    43
			pinctrl-0 = <&pmx_button_power>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    44
			pinctrl-names = "default";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    45
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    46
			pmx_sata0: pmx-sata0 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    47
				marvell,pins = "mpp20";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    48
				marvell,function = "sata1";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    49
			};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    50
			pmx_sata1: pmx-sata1 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    51
				marvell,pins = "mpp21";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    52
				marvell,function = "sata0";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    53
			};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    54
			pmx_led_red_right_hdd: pmx-led-red-right-hdd {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    55
			    marvell,pins = "mpp22";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    56
			    marvell,function = "gpio";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    57
			};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    58
			pmx_led_red_left_hdd: pmx-led-red-left-hdd {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    59
			    marvell,pins = "mpp23";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    60
			    marvell,function = "gpio";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    61
			};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    62
			pmx_power_sata: pmx-power-sata {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    63
			    marvell,pins = "mpp24";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    64
			    marvell,function = "gpio";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    65
			};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    66
			pmx_led_usb_blue: pmx-led-usb-blue {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    67
			    marvell,pins = "mpp25";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    68
			    marvell,function = "gpio";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    69
			};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    70
			pmx_led_usb_orange: pmx-led-usb-orange {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    71
				marvell,pins = "mpp26";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    72
				marvell,function = "gpio";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    73
			};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    74
			pmx_button_usb_copy: pmx-button-usb-copy {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    75
				marvell,pins = "mpp27";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    76
				marvell,function = "gpio";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    77
			};			
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    78
			pmx_button_reset: pmx-button-reset {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    79
				marvell,pins = "mpp28";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    80
				marvell,function = "gpio";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    81
			};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    82
			pmx_button_power: pmx-button-power { // I can't get this one to trigger a button press...
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    83
				marvell,pins = "mpp29";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    84
				marvell,function = "gpio";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    85
			};						
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    86
		};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    87
		sata@80000 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    88
			status = "okay";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    89
			nr-ports = <2>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    90
		};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    91
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    92
		nand@3000000 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    93
			pinctrl-0 = <&pmx_nand>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    94
			pinctrl-names = "default";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    95
			status = "okay";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    96
			chip-delay = <40>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    97
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    98
			partition@0 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
    99
				label = "u-boot";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   100
				reg = <0x0000000 0x100000>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   101
				read-only;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   102
			};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   103
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   104
			partition@100000 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   105
				label = "uImage";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   106
				reg = <0x0100000 0x500000>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   107
			};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   108
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   109
			partition@600000 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   110
				label = "ramdisk";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   111
				reg = <0x0600000 0x500000>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   112
			};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   113
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   114
			partition@b00000 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   115
				label = "image";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   116
				reg = <0x0b00000 0x6400000>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   117
			};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   118
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   119
			partition@6f00000 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   120
				label = "mini firmware";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   121
				reg = <0x6f00000 0xa00000>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   122
			};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   123
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   124
			partition@7900000 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   125
				label = "config";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   126
				reg = <0x7900000 0x500000>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   127
			};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   128
			partition@7e00000 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   129
			    label = "my-dlink";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   130
			    reg = <0x7e00000 0x200000>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   131
			};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   132
		};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   133
	};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   134
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   135
	gpio_keys {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   136
		compatible = "gpio-keys";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   137
		pinctrl-0 = <&pmx_button_reset &pmx_button_usb_copy>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   138
		pinctrl-names = "default";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   139
		#address-cells = <1>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   140
		#size-cells = <0>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   141
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   142
		button@1 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   143
			label = "Reset push button";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   144
			linux,code = <0x198>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   145
			gpios = <&gpio0 28 1>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   146
		};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   147
		button@2 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   148
			label = "USB unmount button";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   149
			linux,code = <161>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   150
			gpios = <&gpio0 27 1>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   151
		};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   152
	};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   153
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   154
	gpio-leds {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   155
		compatible = "gpio-leds";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   156
		pinctrl-0 = <&pmx_led_usb_blue &pmx_led_usb_orange
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   157
			     &pmx_led_red_left_hdd &pmx_led_red_right_hdd>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   158
		pinctrl-names = "default";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   159
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   160
		blue-usb {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   161
			label = "dns320l:blue:usb";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   162
			gpios = <&gpio0 25 0>; 
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   163
		};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   164
		orange-l_hdd {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   165
			label = "dns320l:orange:l_hdd";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   166
			gpios = <&gpio0 22 0>; 
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   167
		};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   168
		orange-r_hdd {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   169
			label = "dns320l:orange:r_hdd";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   170
			gpios = <&gpio0 23 0>; 
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   171
		};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   172
		orange-usb {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   173
			label = "dns320l:orange:usb";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   174
			gpios = <&gpio0 26 0>; 
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   175
		};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   176
	};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   177
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   178
	regulators {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   179
		compatible = "simple-bus";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   180
		#address-cells = <1>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   181
		#size-cells = <0>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   182
		pinctrl-0 = <&pmx_power_sata>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   183
		pinctrl-names = "default";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   184
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   185
		sata_power: regulator@1 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   186
			compatible = "regulator-fixed";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   187
			reg = <1>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   188
			regulator-name = "SATA Power";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   189
			regulator-min-microvolt = <5000000>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   190
			regulator-max-microvolt = <5000000>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   191
			enable-active-high;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   192
			regulator-always-on;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   193
			regulator-boot-on;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   194
			gpio = <&gpio1 24 0>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   195
		};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   196
	};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   197
};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   198
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   199
&mdio {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   200
	status = "okay";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   201
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   202
	ethphy0: ethernet-phy@0 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   203
		device_type = "ethernet-phy";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   204
		reg = <0>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   205
	};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   206
};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   207
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   208
&eth0 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   209
	status = "okay";
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   210
	ethernet0-port@0 {
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   211
		phy-handle = <&ethphy0>;
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   212
	};
bca986acd412 First DeviceTree configuration currently against linux-next
andy
parents:
diff changeset
   213
};