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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/marvell/kirkwood-nsa310a.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-nsa3x0-common.dtsi"
  5 
  6 /*
  7  * There are at least two different NSA310 designs. This variant does
  8  * not have the red USB Led.
  9  */
 10 
 11 / {
 12         compatible = "zyxel,nsa310a", "zyxel,nsa310", "marvell,kirkwood-88f6281", "marvell,kirkwood";
 13 
 14         memory {
 15                 device_type = "memory";
 16                 reg = <0x00000000 0x10000000>;
 17         };
 18 
 19         chosen {
 20                 bootargs = "console=ttyS0,115200";
 21                 stdout-path = &uart0;
 22         };
 23 
 24         ocp@f1000000 {
 25                 pinctrl: pin-controller@10000 {
 26                         pinctrl-names = "default";
 27 
 28                         pmx_led_esata_green: pmx-led-esata-green {
 29                                 marvell,pins = "mpp12";
 30                                 marvell,function = "gpio";
 31                         };
 32 
 33                         pmx_led_esata_red: pmx-led-esata-red {
 34                                 marvell,pins = "mpp13";
 35                                 marvell,function = "gpio";
 36                         };
 37 
 38                         pmx_led_usb_green: pmx-led-usb-green {
 39                                 marvell,pins = "mpp15";
 40                                 marvell,function = "gpio";
 41                         };
 42 
 43                         pmx_led_sys_green: pmx-led-sys-green {
 44                                 marvell,pins = "mpp28";
 45                                 marvell,function = "gpio";
 46                         };
 47 
 48                         pmx_led_sys_red: pmx-led-sys-red {
 49                                 marvell,pins = "mpp29";
 50                                 marvell,function = "gpio";
 51                         };
 52 
 53                         pmx_led_hdd_green: pmx-led-hdd-green {
 54                                 marvell,pins = "mpp41";
 55                                 marvell,function = "gpio";
 56                         };
 57 
 58                         pmx_led_hdd_red: pmx-led-hdd-red {
 59                                 marvell,pins = "mpp42";
 60                                 marvell,function = "gpio";
 61                         };
 62 
 63                 };
 64 
 65                 i2c@11000 {
 66                         status = "okay";
 67 
 68                         lm85: lm85@2e {
 69                                 compatible = "national,lm85";
 70                                 reg = <0x2e>;
 71                         };
 72                 };
 73         };
 74 
 75         gpio-leds {
 76                 compatible = "gpio-leds";
 77 
 78                 led-green-sys {
 79                         label = "nsa310:green:sys";
 80                         gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
 81                 };
 82                 led-red-sys {
 83                         label = "nsa310:red:sys";
 84                         gpios = <&gpio0 29 GPIO_ACTIVE_HIGH>;
 85                 };
 86                 led-green-hdd {
 87                         label = "nsa310:green:hdd";
 88                         gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
 89                 };
 90                 led-red-hdd {
 91                         label = "nsa310:red:hdd";
 92                         gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
 93                 };
 94                 led-green-esata {
 95                         label = "nsa310:green:esata";
 96                         gpios = <&gpio0 12 GPIO_ACTIVE_HIGH>;
 97                 };
 98                 led-red-esata {
 99                         label = "nsa310:red:esata";
100                         gpios = <&gpio0 13 GPIO_ACTIVE_HIGH>;
101                 };
102                 led-green-usb {
103                         label = "nsa310:green:usb";
104                         gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
105                 };
106                 led-green-copy {
107                         label = "nsa310:green:copy";
108                         gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
109                 };
110                 led-red-copy {
111                         label = "nsa310:red:copy";
112                         gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
113                 };
114         };
115 };

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