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

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

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ 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.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 // SPDX-License-Identifier: GPL-2.0
  2 /dts-v1/;
  3 
  4 #include "kirkwood.dtsi"
  5 #include "kirkwood-6281.dtsi"
  6 
  7 / {
  8         model = "Globalscale Technologies Dreamplug";
  9         compatible = "globalscale,dreamplug-003-ds2001", "globalscale,dreamplug", "marvell,kirkwood-88f6281", "marvell,kirkwood";
 10 
 11         memory {
 12                 device_type = "memory";
 13                 reg = <0x00000000 0x20000000>;
 14         };
 15 
 16         chosen {
 17                 bootargs = "console=ttyS0,115200n8 earlyprintk";
 18                 stdout-path = &uart0;
 19         };
 20 
 21         ocp@f1000000 {
 22                 pinctrl: pin-controller@10000 {
 23                         pmx_led_bluetooth: pmx-led-bluetooth {
 24                                 marvell,pins = "mpp47";
 25                                 marvell,function = "gpio";
 26                         };
 27                         pmx_led_wifi: pmx-led-wifi {
 28                                 marvell,pins = "mpp48";
 29                                 marvell,function = "gpio";
 30                         };
 31                         pmx_led_wifi_ap: pmx-led-wifi-ap {
 32                                 marvell,pins = "mpp49";
 33                                 marvell,function = "gpio";
 34                         };
 35                 };
 36                 serial@12000 {
 37                         status = "okay";
 38                 };
 39 
 40                 spi@10600 {
 41                         status = "okay";
 42 
 43                         m25p40@0 {
 44                                 #address-cells = <1>;
 45                                 #size-cells = <1>;
 46                                 compatible = "mxicy,mx25l1606e", "jedec,spi-nor";
 47                                 reg = <0>;
 48                                 spi-max-frequency = <50000000>;
 49                                 mode = <0>;
 50 
 51                                 partition@0 {
 52                                         reg = <0x0 0x80000>;
 53                                         label = "u-boot";
 54                                 };
 55 
 56                                 partition@100000 {
 57                                         reg = <0x100000 0x10000>;
 58                                         label = "u-boot env";
 59                                 };
 60 
 61                                 partition@180000 {
 62                                         reg = <0x180000 0x10000>;
 63                                         label = "dtb";
 64                                 };
 65                         };
 66                 };
 67 
 68                 sata@80000 {
 69                         status = "okay";
 70                         nr-ports = <1>;
 71                 };
 72 
 73                 mvsdio@90000 {
 74                         pinctrl-0 = <&pmx_sdio>;
 75                         pinctrl-names = "default";
 76                         status = "okay";
 77                         /* No CD or WP GPIOs */
 78                         broken-cd;
 79                 };
 80         };
 81 
 82         gpio-leds {
 83                 compatible = "gpio-leds";
 84                 pinctrl-0 = <&pmx_led_bluetooth &pmx_led_wifi
 85                              &pmx_led_wifi_ap >;
 86                 pinctrl-names = "default";
 87 
 88                 led-bluetooth {
 89                         label = "dreamplug:blue:bluetooth";
 90                         gpios = <&gpio1 15 GPIO_ACTIVE_LOW>;
 91                 };
 92                 led-wifi {
 93                         label = "dreamplug:green:wifi";
 94                         gpios = <&gpio1 16 GPIO_ACTIVE_LOW>;
 95                 };
 96                 led-wifi-ap {
 97                         label = "dreamplug:green:wifi_ap";
 98                         gpios = <&gpio1 17 GPIO_ACTIVE_LOW>;
 99                 };
100         };
101 };
102 
103 &mdio {
104         status = "okay";
105 
106         ethphy0: ethernet-phy@0 {
107                 reg = <0>;
108         };
109 
110         ethphy1: ethernet-phy@1 {
111                 reg = <1>;
112         };
113 };
114 
115 &eth0 {
116         status = "okay";
117         ethernet0-port@0 {
118                 phy-handle = <&ethphy0>;
119         };
120 };
121 
122 &eth1 {
123         status = "okay";
124         ethernet1-port@0 {
125                 phy-handle = <&ethphy1>;
126         };
127 };

~ [ 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