~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/arm/boot/dts/marvell/kirkwood-pogo_e02.dts

Version: ~ [ linux-6.11-rc3 ] ~ [ linux-6.10.4 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.45 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.104 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.164 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.223 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.281 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.319 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.9 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /*
  3  * kirkwood-pogo_e02.dts - Device tree file for Pogoplug E02
  4  *
  5  * Copyright (C) 2015 Christoph Junghans <ottxor@gentoo.org>
  6  *
  7  * based on information of dts files from
  8  *  Arch Linux ARM by Oleg Rakhmanov <moonman.ca@gmail.com>
  9  *  OpenWrt by Felix Kaechele <heffer@fedoraproject.org>
 10  *
 11  */
 12 
 13 /dts-v1/;
 14 
 15 #include "kirkwood.dtsi"
 16 #include "kirkwood-6281.dtsi"
 17 
 18 / {
 19         model = "Cloud Engines Pogoplug E02";
 20         compatible = "cloudengines,pogoe02", "marvell,kirkwood-88f6281",
 21                      "marvell,kirkwood";
 22 
 23         memory {
 24                 device_type = "memory";
 25                 reg = <0x00000000 0x10000000>;
 26         };
 27 
 28         chosen {
 29                 bootargs = "console=ttyS0,115200n8";
 30                 stdout-path = &uart0;
 31         };
 32 
 33         gpio-leds {
 34                 compatible = "gpio-leds";
 35 
 36                 led-health {
 37                         label = "pogo_e02:green:health";
 38                         gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
 39                         default-state = "keep";
 40                 };
 41                 led-fault {
 42                         label = "pogo_e02:orange:fault";
 43                         gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
 44                 };
 45         };
 46 
 47         regulators {
 48                 compatible = "simple-bus";
 49                 #address-cells = <1>;
 50                 #size-cells = <0>;
 51                 pinctrl-0 = <&pmx_usb_power_enable>;
 52                 pinctrl-names = "default";
 53 
 54                 usb_power: regulator@1 {
 55                         compatible = "regulator-fixed";
 56                         reg = <1>;
 57                         regulator-name = "USB Power";
 58                         regulator-min-microvolt = <5000000>;
 59                         regulator-max-microvolt = <5000000>;
 60                         enable-active-high;
 61                         regulator-always-on;
 62                         regulator-boot-on;
 63                         gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>;
 64                 };
 65         };
 66 };
 67 
 68 &pinctrl {
 69         pinctrl-0 = < &pmx_usb_power_enable &pmx_led_orange
 70                       &pmx_led_green >;
 71         pinctrl-names = "default";
 72 
 73         pmx_usb_power_enable: pmx-usb-power-enable {
 74                 marvell,pins = "mpp29";
 75                 marvell,function = "gpio";
 76         };
 77 
 78         pmx_led_green: pmx-led-green {
 79                 marvell,pins = "mpp48";
 80                 marvell,function = "gpio";
 81         };
 82 
 83         pmx_led_orange: pmx-led-orange {
 84                 marvell,pins = "mpp49";
 85                 marvell,function = "gpio";
 86         };
 87 };
 88 
 89 &uart0 {
 90         status = "okay";
 91 };
 92 
 93 &nand {
 94         chip-delay = <40>;
 95         status = "okay";
 96 
 97         partition@0 {
 98                 label = "u-boot";
 99                 reg = <0x0000000 0x100000>;
100                 read-only;
101         };
102 
103         partition@100000 {
104                 label = "uImage";
105                 reg = <0x0100000 0x400000>;
106         };
107 
108         partition@500000 {
109                 label = "pogoplug";
110                 reg = <0x0500000 0x2000000>;
111         };
112 
113         partition@2500000 {
114                 label = "root";
115                 reg = <0x02500000 0x5b00000>;
116         };
117 };
118 
119 &mdio {
120         status = "okay";
121 
122         ethphy0: ethernet-phy@0 {
123                 reg = <0>;
124         };
125 };
126 
127 &eth0 {
128         status = "okay";
129         ethernet0-port@0 {
130                 phy-handle = <&ethphy0>;
131         };
132 };

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php