Linux Audio

Check our new training course

Loading...
v4.17
  1// SPDX-License-Identifier: GPL-2.0
  2/dts-v1/;
  3
  4#include "kirkwood.dtsi"
  5#include "kirkwood-6281.dtsi"
  6
  7/ {
  8	model = "Seagate FreeAgent Dockstar";
  9	compatible = "seagate,dockstar", "marvell,kirkwood-88f6281", "marvell,kirkwood";
 10
 11	memory {
 12		device_type = "memory";
 13		reg = <0x00000000 0x8000000>;
 14	};
 15
 16	chosen {
 17		bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10";
 18		stdout-path = &uart0;
 19	};
 20
 21	ocp@f1000000 {
 22		pinctrl: pin-controller@10000 {
 23			pmx_usb_power_enable: pmx-usb-power-enable {
 24				marvell,pins = "mpp29";
 25				marvell,function = "gpio";
 26			};
 27			pmx_led_green: pmx-led-green {
 28				marvell,pins = "mpp46";
 29				marvell,function = "gpio";
 30			};
 31			pmx_led_orange: pmx-led-orange {
 32				marvell,pins = "mpp47";
 33				marvell,function = "gpio";
 34			};
 35		};
 36		serial@12000 {
 37			status = "ok";
 38		};
 39	};
 40	gpio-leds {
 41		compatible = "gpio-leds";
 42		pinctrl-0 = <&pmx_led_green &pmx_led_orange>;
 43		pinctrl-names = "default";
 44
 45		health {
 46			label = "status:green:health";
 47			gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
 48			default-state = "keep";
 49		};
 50		fault {
 51			label = "status:orange:fault";
 52			gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
 53		};
 54	};
 55	regulators {
 56		compatible = "simple-bus";
 57		#address-cells = <1>;
 58		#size-cells = <0>;
 59		pinctrl-0 = <&pmx_usb_power_enable>;
 60		pinctrl-names = "default";
 61
 62		usb_power: regulator@1 {
 63			compatible = "regulator-fixed";
 64			reg = <1>;
 65			regulator-name = "USB Power";
 66			regulator-min-microvolt = <5000000>;
 67			regulator-max-microvolt = <5000000>;
 68			enable-active-high;
 69			regulator-always-on;
 70			regulator-boot-on;
 71			gpio = <&gpio0 29 0>;
 72		};
 73	};
 74};
 75
 76&nand {
 77	status = "okay";
 78
 79	partition@0 {
 80		label = "u-boot";
 81		reg = <0x0000000 0x100000>;
 82		read-only;
 83	};
 84
 85	partition@100000 {
 86		label = "uImage";
 87		reg = <0x0100000 0x400000>;
 88	};
 89
 90	partition@500000 {
 91		label = "data";
 92		reg = <0x0500000 0xfb00000>;
 93	};
 94};
 95
 96&mdio {
 97	status = "okay";
 98
 99	ethphy0: ethernet-phy@0 {
100		compatible = "marvell,88e1116";
101		reg = <0>;
102	};
103};
104
105&eth0 {
106	status = "okay";
107	ethernet0-port@0 {
108		phy-handle = <&ethphy0>;
109	};
110};
v3.15
 
  1/dts-v1/;
  2
  3#include "kirkwood.dtsi"
  4#include "kirkwood-6281.dtsi"
  5
  6/ {
  7	model = "Seagate FreeAgent Dockstar";
  8	compatible = "seagate,dockstar", "marvell,kirkwood-88f6281", "marvell,kirkwood";
  9
 10	memory {
 11		device_type = "memory";
 12		reg = <0x00000000 0x8000000>;
 13	};
 14
 15	chosen {
 16		bootargs = "console=ttyS0,115200n8 earlyprintk root=/dev/sda1 rootdelay=10";
 
 17	};
 18
 19	ocp@f1000000 {
 20		pinctrl: pinctrl@10000 {
 21			pmx_usb_power_enable: pmx-usb-power-enable {
 22				marvell,pins = "mpp29";
 23				marvell,function = "gpio";
 24			};
 25			pmx_led_green: pmx-led-green {
 26				marvell,pins = "mpp46";
 27				marvell,function = "gpio";
 28			};
 29			pmx_led_orange: pmx-led-orange {
 30				marvell,pins = "mpp47";
 31				marvell,function = "gpio";
 32			};
 33		};
 34		serial@12000 {
 35			status = "ok";
 36		};
 37	};
 38	gpio-leds {
 39		compatible = "gpio-leds";
 40		pinctrl-0 = <&pmx_led_green &pmx_led_orange>;
 41		pinctrl-names = "default";
 42
 43		health {
 44			label = "status:green:health";
 45			gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
 46			default-state = "keep";
 47		};
 48		fault {
 49			label = "status:orange:fault";
 50			gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
 51		};
 52	};
 53	regulators {
 54		compatible = "simple-bus";
 55		#address-cells = <1>;
 56		#size-cells = <0>;
 57		pinctrl-0 = <&pmx_usb_power_enable>;
 58		pinctrl-names = "default";
 59
 60		usb_power: regulator@1 {
 61			compatible = "regulator-fixed";
 62			reg = <1>;
 63			regulator-name = "USB Power";
 64			regulator-min-microvolt = <5000000>;
 65			regulator-max-microvolt = <5000000>;
 66			enable-active-high;
 67			regulator-always-on;
 68			regulator-boot-on;
 69			gpio = <&gpio0 29 0>;
 70		};
 71	};
 72};
 73
 74&nand {
 75	status = "okay";
 76
 77	partition@0 {
 78		label = "u-boot";
 79		reg = <0x0000000 0x100000>;
 80		read-only;
 81	};
 82
 83	partition@100000 {
 84		label = "uImage";
 85		reg = <0x0100000 0x400000>;
 86	};
 87
 88	partition@500000 {
 89		label = "data";
 90		reg = <0x0500000 0xfb00000>;
 91	};
 92};
 93
 94&mdio {
 95	status = "okay";
 96
 97	ethphy0: ethernet-phy@0 {
 98		compatible = "marvell,88e1116";
 99		reg = <0>;
100	};
101};
102
103&eth0 {
104	status = "okay";
105	ethernet0-port@0 {
106		phy-handle = <&ethphy0>;
107	};
108};