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

TOMOYO Linux Cross Reference
Linux/scripts/dtc/include-prefixes/arm/marvell/kirkwood-nsa3x0-common.dtsi

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 #include "kirkwood.dtsi"
  3 #include "kirkwood-6281.dtsi"
  4 
  5 / {
  6         model = "ZyXEL NSA310";
  7 
  8         ocp@f1000000 {
  9                 pinctrl: pin-controller@10000 {
 10 
 11                         pmx_usb_power: pmx-usb-power {
 12                                 marvell,pins = "mpp21";
 13                                 marvell,function = "gpio";
 14                         };
 15 
 16                         pmx_pwr_off: pmx-pwr-off {
 17                                 marvell,pins = "mpp48";
 18                                 marvell,function = "gpio";
 19                         };
 20 
 21                         pmx_btn_reset: pmx-btn-reset {
 22                                 marvell,pins = "mpp36";
 23                                 marvell,function = "gpio";
 24                         };
 25 
 26                         pmx_btn_copy: pmx-btn-copy {
 27                                 marvell,pins = "mpp37";
 28                                 marvell,function = "gpio";
 29                         };
 30 
 31                         pmx_btn_power: pmx-btn-power {
 32                                 marvell,pins = "mpp46";
 33                                 marvell,function = "gpio";
 34                         };
 35 
 36                         pmx_led_copy_green: pmx-led-copy-green {
 37                                 marvell,pins = "mpp39";
 38                                 marvell,function = "gpio";
 39                         };
 40 
 41                         pmx_led_copy_red: pmx-led-copy-red {
 42                                 marvell,pins = "mpp40";
 43                                 marvell,function = "gpio";
 44                         };
 45                 };
 46 
 47                 serial@12000 {
 48                         status = "okay";
 49                 };
 50 
 51                 sata@80000 {
 52                         status = "okay";
 53                         nr-ports = <2>;
 54                 };
 55         };
 56 
 57         gpio_poweroff {
 58                 compatible = "gpio-poweroff";
 59                 pinctrl-0 = <&pmx_pwr_off>;
 60                 pinctrl-names = "default";
 61                 gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
 62         };
 63 
 64         gpio_keys {
 65                 compatible = "gpio-keys";
 66                 pinctrl-0 = <&pmx_btn_reset &pmx_btn_copy &pmx_btn_power>;
 67                 pinctrl-names = "default";
 68 
 69                 button-power {
 70                         label = "Power Button";
 71                         linux,code = <KEY_POWER>;
 72                         gpios = <&gpio1 14 GPIO_ACTIVE_HIGH>;
 73                 };
 74                 button-copy {
 75                         label = "Copy Button";
 76                         linux,code = <KEY_COPY>;
 77                         gpios = <&gpio1 5 GPIO_ACTIVE_LOW>;
 78                 };
 79                 button-reset {
 80                         label = "Reset Button";
 81                         linux,code = <KEY_RESTART>;
 82                         gpios = <&gpio1 4 GPIO_ACTIVE_LOW>;
 83                 };
 84         };
 85 
 86 
 87         regulators {
 88                 compatible = "simple-bus";
 89                 #address-cells = <1>;
 90                 #size-cells = <0>;
 91                 pinctrl-0 = <&pmx_usb_power>;
 92                 pinctrl-names = "default";
 93 
 94                 usb0_power: regulator@1 {
 95                         compatible = "regulator-fixed";
 96                         reg = <1>;
 97                         regulator-name = "USB Power";
 98                         regulator-min-microvolt = <5000000>;
 99                         regulator-max-microvolt = <5000000>;
100                         regulator-always-on;
101                         regulator-boot-on;
102                         gpio = <&gpio0 21 GPIO_ACTIVE_HIGH>;
103                 };
104         };
105 };
106 
107 &nand {
108         status = "okay";
109         chip-delay = <35>;
110 
111         partition@0 {
112                 label = "uboot";
113                 reg = <0x0000000 0x0100000>;
114                 read-only;
115         };
116         partition@100000 {
117                 label = "uboot_env";
118                 reg = <0x0100000 0x0080000>;
119         };
120         partition@180000 {
121                 label = "key_store";
122                 reg = <0x0180000 0x0080000>;
123         };
124         partition@200000 {
125                 label = "info";
126                 reg = <0x0200000 0x0080000>;
127         };
128         partition@280000 {
129                 label = "etc";
130                 reg = <0x0280000 0x0a00000>;
131         };
132         partition@c80000 {
133                 label = "kernel_1";
134                 reg = <0x0c80000 0x0a00000>;
135         };
136         partition@1680000 {
137                 label = "rootfs1";
138                 reg = <0x1680000 0x2fc0000>;
139         };
140         partition@4640000 {
141                 label = "kernel_2";
142                 reg = <0x4640000 0x0a00000>;
143         };
144         partition@5040000 {
145                 label = "rootfs2";
146                 reg = <0x5040000 0x2fc0000>;
147         };
148 };
149 
150 &pciec {
151         status = "okay";
152 };
153 
154 &pcie0 {
155         status = "okay";
156 };

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