1724ba675SRob Herring// SPDX-License-Identifier: GPL-2.0 2724ba675SRob Herring/* 3724ba675SRob Herring * Nodes for Marvell 628x Synology devices 4724ba675SRob Herring * 5724ba675SRob Herring * Andrew Lunn <andrew@lunn.ch> 6724ba675SRob Herring * Ben Peddell <klightspeed@killerwolves.net> 7724ba675SRob Herring * 8724ba675SRob Herring */ 9724ba675SRob Herring 10724ba675SRob Herring/ { 11724ba675SRob Herring ocp@f1000000 { 12724ba675SRob Herring pinctrl: pin-controller@10000 { 13724ba675SRob Herring pmx_alarmled_12: pmx-alarmled-12 { 14724ba675SRob Herring marvell,pins = "mpp12"; 15724ba675SRob Herring marvell,function = "gpio"; 16724ba675SRob Herring }; 17724ba675SRob Herring 18724ba675SRob Herring pmx_fanctrl_15: pmx-fanctrl-15 { 19724ba675SRob Herring marvell,pins = "mpp15"; 20724ba675SRob Herring marvell,function = "gpio"; 21724ba675SRob Herring }; 22724ba675SRob Herring 23724ba675SRob Herring pmx_fanctrl_16: pmx-fanctrl-16 { 24724ba675SRob Herring marvell,pins = "mpp16"; 25724ba675SRob Herring marvell,function = "gpio"; 26724ba675SRob Herring }; 27724ba675SRob Herring 28724ba675SRob Herring pmx_fanctrl_17: pmx-fanctrl-17 { 29724ba675SRob Herring marvell,pins = "mpp17"; 30724ba675SRob Herring marvell,function = "gpio"; 31724ba675SRob Herring }; 32724ba675SRob Herring 33724ba675SRob Herring pmx_fanalarm_18: pmx-fanalarm-18 { 34724ba675SRob Herring marvell,pins = "mpp18"; 35724ba675SRob Herring marvell,function = "gpo"; 36724ba675SRob Herring }; 37724ba675SRob Herring 38724ba675SRob Herring pmx_hddled_20: pmx-hddled-20 { 39724ba675SRob Herring marvell,pins = "mpp20"; 40724ba675SRob Herring marvell,function = "gpio"; 41724ba675SRob Herring }; 42724ba675SRob Herring 43724ba675SRob Herring pmx_hddled_21: pmx-hddled-21 { 44724ba675SRob Herring marvell,pins = "mpp21"; 45724ba675SRob Herring marvell,function = "gpio"; 46724ba675SRob Herring }; 47724ba675SRob Herring 48724ba675SRob Herring pmx_hddled_22: pmx-hddled-22 { 49724ba675SRob Herring marvell,pins = "mpp22"; 50724ba675SRob Herring marvell,function = "gpio"; 51724ba675SRob Herring }; 52724ba675SRob Herring 53724ba675SRob Herring pmx_hddled_23: pmx-hddled-23 { 54724ba675SRob Herring marvell,pins = "mpp23"; 55724ba675SRob Herring marvell,function = "gpio"; 56724ba675SRob Herring }; 57724ba675SRob Herring 58724ba675SRob Herring pmx_hddled_24: pmx-hddled-24 { 59724ba675SRob Herring marvell,pins = "mpp24"; 60724ba675SRob Herring marvell,function = "gpio"; 61724ba675SRob Herring }; 62724ba675SRob Herring 63724ba675SRob Herring pmx_hddled_25: pmx-hddled-25 { 64724ba675SRob Herring marvell,pins = "mpp25"; 65724ba675SRob Herring marvell,function = "gpio"; 66724ba675SRob Herring }; 67724ba675SRob Herring 68724ba675SRob Herring pmx_hddled_26: pmx-hddled-26 { 69724ba675SRob Herring marvell,pins = "mpp26"; 70724ba675SRob Herring marvell,function = "gpio"; 71724ba675SRob Herring }; 72724ba675SRob Herring 73724ba675SRob Herring pmx_hddled_27: pmx-hddled-27 { 74724ba675SRob Herring marvell,pins = "mpp27"; 75724ba675SRob Herring marvell,function = "gpio"; 76724ba675SRob Herring }; 77724ba675SRob Herring 78724ba675SRob Herring pmx_hddled_28: pmx-hddled-28 { 79724ba675SRob Herring marvell,pins = "mpp28"; 80724ba675SRob Herring marvell,function = "gpio"; 81724ba675SRob Herring }; 82724ba675SRob Herring 83724ba675SRob Herring pmx_hdd1_pwr_29: pmx-hdd1-pwr-29 { 84724ba675SRob Herring marvell,pins = "mpp29"; 85724ba675SRob Herring marvell,function = "gpio"; 86724ba675SRob Herring }; 87724ba675SRob Herring 88724ba675SRob Herring pmx_hdd1_pwr_30: pmx-hdd-pwr-30 { 89724ba675SRob Herring marvell,pins = "mpp30"; 90724ba675SRob Herring marvell,function = "gpio"; 91724ba675SRob Herring }; 92724ba675SRob Herring 93724ba675SRob Herring pmx_hdd2_pwr_31: pmx-hdd2-pwr-31 { 94724ba675SRob Herring marvell,pins = "mpp31"; 95724ba675SRob Herring marvell,function = "gpio"; 96724ba675SRob Herring }; 97724ba675SRob Herring 98724ba675SRob Herring pmx_fanctrl_32: pmx-fanctrl-32 { 99724ba675SRob Herring marvell,pins = "mpp32"; 100724ba675SRob Herring marvell,function = "gpio"; 101724ba675SRob Herring }; 102724ba675SRob Herring 103724ba675SRob Herring pmx_fanctrl_33: pmx-fanctrl-33 { 104724ba675SRob Herring marvell,pins = "mpp33"; 105724ba675SRob Herring marvell,function = "gpo"; 106724ba675SRob Herring }; 107724ba675SRob Herring 108724ba675SRob Herring pmx_fanctrl_34: pmx-fanctrl-34 { 109724ba675SRob Herring marvell,pins = "mpp34"; 110724ba675SRob Herring marvell,function = "gpio"; 111724ba675SRob Herring }; 112724ba675SRob Herring 113724ba675SRob Herring pmx_hdd2_pwr_34: pmx-hdd2-pwr-34 { 114724ba675SRob Herring marvell,pins = "mpp34"; 115724ba675SRob Herring marvell,function = "gpio"; 116724ba675SRob Herring }; 117724ba675SRob Herring 118724ba675SRob Herring pmx_fanalarm_35: pmx-fanalarm-35 { 119724ba675SRob Herring marvell,pins = "mpp35"; 120724ba675SRob Herring marvell,function = "gpio"; 121724ba675SRob Herring }; 122724ba675SRob Herring 123724ba675SRob Herring pmx_hddled_36: pmx-hddled-36 { 124724ba675SRob Herring marvell,pins = "mpp36"; 125724ba675SRob Herring marvell,function = "gpio"; 126724ba675SRob Herring }; 127724ba675SRob Herring 128724ba675SRob Herring pmx_hddled_37: pmx-hddled-37 { 129724ba675SRob Herring marvell,pins = "mpp37"; 130724ba675SRob Herring marvell,function = "gpio"; 131724ba675SRob Herring }; 132724ba675SRob Herring 133724ba675SRob Herring pmx_hddled_38: pmx-hddled-38 { 134724ba675SRob Herring marvell,pins = "mpp38"; 135724ba675SRob Herring marvell,function = "gpio"; 136724ba675SRob Herring }; 137724ba675SRob Herring 138724ba675SRob Herring pmx_hddled_39: pmx-hddled-39 { 139724ba675SRob Herring marvell,pins = "mpp39"; 140724ba675SRob Herring marvell,function = "gpio"; 141724ba675SRob Herring }; 142724ba675SRob Herring 143724ba675SRob Herring pmx_hddled_40: pmx-hddled-40 { 144724ba675SRob Herring marvell,pins = "mpp40"; 145724ba675SRob Herring marvell,function = "gpio"; 146724ba675SRob Herring }; 147724ba675SRob Herring 148724ba675SRob Herring pmx_hddled_41: pmx-hddled-41 { 149724ba675SRob Herring marvell,pins = "mpp41"; 150724ba675SRob Herring marvell,function = "gpio"; 151724ba675SRob Herring }; 152724ba675SRob Herring 153724ba675SRob Herring pmx_hddled_42: pmx-hddled-42 { 154724ba675SRob Herring marvell,pins = "mpp42"; 155724ba675SRob Herring marvell,function = "gpio"; 156724ba675SRob Herring }; 157724ba675SRob Herring 158724ba675SRob Herring pmx_hddled_43: pmx-hddled-43 { 159724ba675SRob Herring marvell,pins = "mpp43"; 160724ba675SRob Herring marvell,function = "gpio"; 161724ba675SRob Herring }; 162724ba675SRob Herring 163724ba675SRob Herring pmx_hddled_44: pmx-hddled-44 { 164724ba675SRob Herring marvell,pins = "mpp44"; 165724ba675SRob Herring marvell,function = "gpio"; 166724ba675SRob Herring }; 167724ba675SRob Herring 168724ba675SRob Herring pmx_hddled_45: pmx-hddled-45 { 169724ba675SRob Herring marvell,pins = "mpp45"; 170724ba675SRob Herring marvell,function = "gpio"; 171724ba675SRob Herring }; 172724ba675SRob Herring 173724ba675SRob Herring pmx_hdd3_pwr_44: pmx-hdd3-pwr-44 { 174724ba675SRob Herring marvell,pins = "mpp44"; 175724ba675SRob Herring marvell,function = "gpio"; 176724ba675SRob Herring }; 177724ba675SRob Herring 178724ba675SRob Herring pmx_hdd4_pwr_45: pmx-hdd4-pwr-45 { 179724ba675SRob Herring marvell,pins = "mpp45"; 180724ba675SRob Herring marvell,function = "gpio"; 181724ba675SRob Herring }; 182724ba675SRob Herring 183724ba675SRob Herring pmx_fanalarm_44: pmx-fanalarm-44 { 184724ba675SRob Herring marvell,pins = "mpp44"; 185724ba675SRob Herring marvell,function = "gpio"; 186724ba675SRob Herring }; 187724ba675SRob Herring 188724ba675SRob Herring pmx_fanalarm_45: pmx-fanalarm-45 { 189724ba675SRob Herring marvell,pins = "mpp45"; 190724ba675SRob Herring marvell,function = "gpio"; 191724ba675SRob Herring }; 192724ba675SRob Herring }; 193724ba675SRob Herring 194724ba675SRob Herring rtc@10300 { 195724ba675SRob Herring status = "disabled"; 196724ba675SRob Herring }; 197724ba675SRob Herring 198724ba675SRob Herring spi@10600 { 199724ba675SRob Herring status = "okay"; 200724ba675SRob Herring 201724ba675SRob Herring flash@0 { 202724ba675SRob Herring #address-cells = <1>; 203724ba675SRob Herring #size-cells = <1>; 204724ba675SRob Herring compatible = "st,m25p80", "jedec,spi-nor"; 205724ba675SRob Herring reg = <0>; 206724ba675SRob Herring spi-max-frequency = <20000000>; 207724ba675SRob Herring mode = <0>; 208724ba675SRob Herring 209724ba675SRob Herring partition@0 { 210724ba675SRob Herring reg = <0x00000000 0x00080000>; 211724ba675SRob Herring label = "RedBoot"; 212724ba675SRob Herring }; 213724ba675SRob Herring 214724ba675SRob Herring partition@80000 { 215724ba675SRob Herring reg = <0x00080000 0x00200000>; 216724ba675SRob Herring label = "zImage"; 217724ba675SRob Herring }; 218724ba675SRob Herring 219724ba675SRob Herring partition@280000 { 220724ba675SRob Herring reg = <0x00280000 0x00140000>; 221724ba675SRob Herring label = "rd.gz"; 222724ba675SRob Herring }; 223724ba675SRob Herring 224724ba675SRob Herring partition@3c0000 { 225724ba675SRob Herring reg = <0x003c0000 0x00010000>; 226724ba675SRob Herring label = "vendor"; 227724ba675SRob Herring }; 228724ba675SRob Herring 229724ba675SRob Herring partition@3d0000 { 230724ba675SRob Herring reg = <0x003d0000 0x00020000>; 231724ba675SRob Herring label = "RedBoot config"; 232724ba675SRob Herring }; 233724ba675SRob Herring 234724ba675SRob Herring partition@3f0000 { 235724ba675SRob Herring reg = <0x003f0000 0x00010000>; 236724ba675SRob Herring label = "FIS directory"; 237724ba675SRob Herring }; 238724ba675SRob Herring }; 239724ba675SRob Herring }; 240724ba675SRob Herring 241724ba675SRob Herring i2c@11000 { 242724ba675SRob Herring status = "okay"; 243724ba675SRob Herring clock-frequency = <400000>; 244724ba675SRob Herring 245724ba675SRob Herring rs5c372: rs5c372@32 { 246724ba675SRob Herring status = "disabled"; 247724ba675SRob Herring compatible = "ricoh,rs5c372a"; 248724ba675SRob Herring reg = <0x32>; 249724ba675SRob Herring }; 250724ba675SRob Herring 251724ba675SRob Herring s35390a: s35390a@30 { 252724ba675SRob Herring status = "disabled"; 253724ba675SRob Herring compatible = "sii,s35390a"; 254724ba675SRob Herring reg = <0x30>; 255724ba675SRob Herring }; 256724ba675SRob Herring }; 257724ba675SRob Herring 258724ba675SRob Herring serial@12000 { 259724ba675SRob Herring status = "okay"; 260724ba675SRob Herring }; 261724ba675SRob Herring 262724ba675SRob Herring serial@12100 { 263724ba675SRob Herring status = "okay"; 264724ba675SRob Herring }; 265724ba675SRob Herring 266724ba675SRob Herring poweroff@12100 { 267724ba675SRob Herring compatible = "synology,power-off"; 268724ba675SRob Herring reg = <0x12100 0x100>; 269724ba675SRob Herring clocks = <&gate_clk 7>; 270724ba675SRob Herring }; 271724ba675SRob Herring 272724ba675SRob Herring sata@80000 { 273724ba675SRob Herring pinctrl-0 = <&pmx_sata0 &pmx_sata1>; 274724ba675SRob Herring pinctrl-names = "default"; 275724ba675SRob Herring status = "okay"; 276724ba675SRob Herring nr-ports = <2>; 277724ba675SRob Herring }; 278724ba675SRob Herring }; 279724ba675SRob Herring 280724ba675SRob Herring gpio-fan-150-32-35 { 281724ba675SRob Herring status = "disabled"; 282724ba675SRob Herring compatible = "gpio-fan"; 283724ba675SRob Herring pinctrl-0 = <&pmx_fanctrl_32 &pmx_fanctrl_33 &pmx_fanctrl_34 284724ba675SRob Herring &pmx_fanalarm_35>; 285724ba675SRob Herring pinctrl-names = "default"; 286724ba675SRob Herring gpios = <&gpio1 0 GPIO_ACTIVE_HIGH 287724ba675SRob Herring &gpio1 1 GPIO_ACTIVE_HIGH 288724ba675SRob Herring &gpio1 2 GPIO_ACTIVE_HIGH>; 28962f34e3eSDavid Heidelberg gpio-fan,speed-map = 29062f34e3eSDavid Heidelberg < 0 0>, 29162f34e3eSDavid Heidelberg <2200 1>, 29262f34e3eSDavid Heidelberg <2500 2>, 29362f34e3eSDavid Heidelberg <3000 4>, 29462f34e3eSDavid Heidelberg <3300 3>, 29562f34e3eSDavid Heidelberg <3700 5>, 29662f34e3eSDavid Heidelberg <3800 6>, 29762f34e3eSDavid Heidelberg <4200 7>; 298724ba675SRob Herring }; 299724ba675SRob Herring 300724ba675SRob Herring gpio-fan-150-15-18 { 301724ba675SRob Herring status = "disabled"; 302724ba675SRob Herring compatible = "gpio-fan"; 303724ba675SRob Herring pinctrl-0 = <&pmx_fanctrl_15 &pmx_fanctrl_16 &pmx_fanctrl_17 304724ba675SRob Herring &pmx_fanalarm_18>; 305724ba675SRob Herring pinctrl-names = "default"; 306724ba675SRob Herring gpios = <&gpio0 15 GPIO_ACTIVE_HIGH 307724ba675SRob Herring &gpio0 16 GPIO_ACTIVE_HIGH 308724ba675SRob Herring &gpio0 17 GPIO_ACTIVE_HIGH>; 309724ba675SRob Herring alarm-gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>; 31062f34e3eSDavid Heidelberg gpio-fan,speed-map = 31162f34e3eSDavid Heidelberg < 0 0>, 31262f34e3eSDavid Heidelberg <2200 1>, 31362f34e3eSDavid Heidelberg <2500 2>, 31462f34e3eSDavid Heidelberg <3000 4>, 31562f34e3eSDavid Heidelberg <3300 3>, 31662f34e3eSDavid Heidelberg <3700 5>, 31762f34e3eSDavid Heidelberg <3800 6>, 31862f34e3eSDavid Heidelberg <4200 7>; 319724ba675SRob Herring }; 320724ba675SRob Herring 321724ba675SRob Herring gpio-fan-100-32-35 { 322724ba675SRob Herring status = "disabled"; 323724ba675SRob Herring compatible = "gpio-fan"; 324724ba675SRob Herring pinctrl-0 = <&pmx_fanctrl_32 &pmx_fanctrl_33 &pmx_fanctrl_34 325724ba675SRob Herring &pmx_fanalarm_35>; 326724ba675SRob Herring pinctrl-names = "default"; 327724ba675SRob Herring gpios = <&gpio1 0 GPIO_ACTIVE_HIGH 328724ba675SRob Herring &gpio1 1 GPIO_ACTIVE_HIGH 329724ba675SRob Herring &gpio1 2 GPIO_ACTIVE_HIGH>; 330724ba675SRob Herring alarm-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; 33162f34e3eSDavid Heidelberg gpio-fan,speed-map = 33262f34e3eSDavid Heidelberg < 0 0>, 33362f34e3eSDavid Heidelberg <2500 1>, 33462f34e3eSDavid Heidelberg <3100 2>, 33562f34e3eSDavid Heidelberg <3800 3>, 33662f34e3eSDavid Heidelberg <4600 4>, 33762f34e3eSDavid Heidelberg <4800 5>, 33862f34e3eSDavid Heidelberg <4900 6>, 33962f34e3eSDavid Heidelberg <5000 7>; 340724ba675SRob Herring }; 341724ba675SRob Herring 342724ba675SRob Herring gpio-fan-100-15-18 { 343724ba675SRob Herring status = "disabled"; 344724ba675SRob Herring compatible = "gpio-fan"; 345724ba675SRob Herring pinctrl-0 = <&pmx_fanctrl_15 &pmx_fanctrl_16 &pmx_fanctrl_17 346724ba675SRob Herring &pmx_fanalarm_18>; 347724ba675SRob Herring pinctrl-names = "default"; 348724ba675SRob Herring gpios = <&gpio0 15 GPIO_ACTIVE_HIGH 349724ba675SRob Herring &gpio0 16 GPIO_ACTIVE_HIGH 350724ba675SRob Herring &gpio0 17 GPIO_ACTIVE_HIGH>; 351724ba675SRob Herring alarm-gpios = <&gpio0 18 GPIO_ACTIVE_HIGH>; 35262f34e3eSDavid Heidelberg gpio-fan,speed-map = 35362f34e3eSDavid Heidelberg < 0 0>, 35462f34e3eSDavid Heidelberg <2500 1>, 35562f34e3eSDavid Heidelberg <3100 2>, 35662f34e3eSDavid Heidelberg <3800 3>, 35762f34e3eSDavid Heidelberg <4600 4>, 35862f34e3eSDavid Heidelberg <4800 5>, 35962f34e3eSDavid Heidelberg <4900 6>, 36062f34e3eSDavid Heidelberg <5000 7>; 361724ba675SRob Herring }; 362724ba675SRob Herring 363724ba675SRob Herring gpio-fan-100-15-35-1 { 364724ba675SRob Herring status = "disabled"; 365724ba675SRob Herring compatible = "gpio-fan"; 366724ba675SRob Herring pinctrl-0 = <&pmx_fanctrl_15 &pmx_fanctrl_16 &pmx_fanctrl_17 367724ba675SRob Herring &pmx_fanalarm_35>; 368724ba675SRob Herring pinctrl-names = "default"; 369724ba675SRob Herring gpios = <&gpio0 15 GPIO_ACTIVE_HIGH 370724ba675SRob Herring &gpio0 16 GPIO_ACTIVE_HIGH 371724ba675SRob Herring &gpio0 17 GPIO_ACTIVE_HIGH>; 372724ba675SRob Herring alarm-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>; 37362f34e3eSDavid Heidelberg gpio-fan,speed-map = 37462f34e3eSDavid Heidelberg < 0 0>, 37562f34e3eSDavid Heidelberg <2500 1>, 37662f34e3eSDavid Heidelberg <3100 2>, 37762f34e3eSDavid Heidelberg <3800 3>, 37862f34e3eSDavid Heidelberg <4600 4>, 37962f34e3eSDavid Heidelberg <4800 5>, 38062f34e3eSDavid Heidelberg <4900 6>, 38162f34e3eSDavid Heidelberg <5000 7>; 382724ba675SRob Herring }; 383724ba675SRob Herring 384724ba675SRob Herring gpio-fan-100-15-35-3 { 385724ba675SRob Herring status = "disabled"; 386724ba675SRob Herring compatible = "gpio-fan"; 387724ba675SRob Herring pinctrl-0 = <&pmx_fanctrl_15 &pmx_fanctrl_16 &pmx_fanctrl_17 388724ba675SRob Herring &pmx_fanalarm_35 &pmx_fanalarm_44 &pmx_fanalarm_45>; 389724ba675SRob Herring pinctrl-names = "default"; 390724ba675SRob Herring gpios = <&gpio0 15 GPIO_ACTIVE_HIGH 391724ba675SRob Herring &gpio0 16 GPIO_ACTIVE_HIGH 392724ba675SRob Herring &gpio0 17 GPIO_ACTIVE_HIGH>; 393724ba675SRob Herring alarm-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH 394724ba675SRob Herring &gpio1 12 GPIO_ACTIVE_HIGH 395724ba675SRob Herring &gpio1 13 GPIO_ACTIVE_HIGH>; 39662f34e3eSDavid Heidelberg gpio-fan,speed-map = 39762f34e3eSDavid Heidelberg < 0 0>, 39862f34e3eSDavid Heidelberg <2500 1>, 39962f34e3eSDavid Heidelberg <3100 2>, 40062f34e3eSDavid Heidelberg <3800 3>, 40162f34e3eSDavid Heidelberg <4600 4>, 40262f34e3eSDavid Heidelberg <4800 5>, 40362f34e3eSDavid Heidelberg <4900 6>, 40462f34e3eSDavid Heidelberg <5000 7>; 405724ba675SRob Herring }; 406724ba675SRob Herring 407724ba675SRob Herring gpio-leds-alarm-12 { 408724ba675SRob Herring status = "disabled"; 409724ba675SRob Herring compatible = "gpio-leds"; 410724ba675SRob Herring pinctrl-0 = <&pmx_alarmled_12>; 411724ba675SRob Herring pinctrl-names = "default"; 412724ba675SRob Herring 413*9d0120b7SKrzysztof Kozlowski led-hdd1-green { 414724ba675SRob Herring label = "synology:alarm"; 415724ba675SRob Herring gpios = <&gpio0 21 GPIO_ACTIVE_LOW>; 416724ba675SRob Herring }; 417724ba675SRob Herring }; 418724ba675SRob Herring 419724ba675SRob Herring gpio-leds-hdd-20 { 420724ba675SRob Herring status = "disabled"; 421724ba675SRob Herring compatible = "gpio-leds"; 422724ba675SRob Herring pinctrl-0 = <&pmx_hddled_20 &pmx_hddled_21 &pmx_hddled_22 423724ba675SRob Herring &pmx_hddled_23 &pmx_hddled_24 &pmx_hddled_25 424724ba675SRob Herring &pmx_hddled_26 &pmx_hddled_27>; 425724ba675SRob Herring pinctrl-names = "default"; 426724ba675SRob Herring 427*9d0120b7SKrzysztof Kozlowski led-hdd1-green { 428724ba675SRob Herring label = "synology:green:hdd1"; 429724ba675SRob Herring gpios = <&gpio0 20 GPIO_ACTIVE_LOW>; 430724ba675SRob Herring }; 431724ba675SRob Herring 432*9d0120b7SKrzysztof Kozlowski led-hdd1-amber { 433724ba675SRob Herring label = "synology:amber:hdd1"; 434724ba675SRob Herring gpios = <&gpio0 21 GPIO_ACTIVE_LOW>; 435724ba675SRob Herring }; 436724ba675SRob Herring 437*9d0120b7SKrzysztof Kozlowski led-hdd2-green { 438724ba675SRob Herring label = "synology:green:hdd2"; 439724ba675SRob Herring gpios = <&gpio0 22 GPIO_ACTIVE_LOW>; 440724ba675SRob Herring }; 441724ba675SRob Herring 442*9d0120b7SKrzysztof Kozlowski led-hdd2-amber { 443724ba675SRob Herring label = "synology:amber:hdd2"; 444724ba675SRob Herring gpios = <&gpio0 23 GPIO_ACTIVE_LOW>; 445724ba675SRob Herring }; 446724ba675SRob Herring 447*9d0120b7SKrzysztof Kozlowski led-hdd3-green { 448724ba675SRob Herring label = "synology:green:hdd3"; 449724ba675SRob Herring gpios = <&gpio0 24 GPIO_ACTIVE_LOW>; 450724ba675SRob Herring }; 451724ba675SRob Herring 452*9d0120b7SKrzysztof Kozlowski led-hdd3-amber { 453724ba675SRob Herring label = "synology:amber:hdd3"; 454724ba675SRob Herring gpios = <&gpio0 25 GPIO_ACTIVE_LOW>; 455724ba675SRob Herring }; 456724ba675SRob Herring 457*9d0120b7SKrzysztof Kozlowski led-hdd4-green { 458724ba675SRob Herring label = "synology:green:hdd4"; 459724ba675SRob Herring gpios = <&gpio0 26 GPIO_ACTIVE_LOW>; 460724ba675SRob Herring }; 461724ba675SRob Herring 462*9d0120b7SKrzysztof Kozlowski led-hdd4-amber { 463724ba675SRob Herring label = "synology:amber:hdd4"; 464724ba675SRob Herring gpios = <&gpio0 27 GPIO_ACTIVE_LOW>; 465724ba675SRob Herring }; 466724ba675SRob Herring }; 467724ba675SRob Herring 468724ba675SRob Herring gpio-leds-hdd-21-1 { 469724ba675SRob Herring status = "disabled"; 470724ba675SRob Herring compatible = "gpio-leds"; 471724ba675SRob Herring pinctrl-0 = <&pmx_hddled_21 &pmx_hddled_23>; 472724ba675SRob Herring pinctrl-names = "default"; 473724ba675SRob Herring 474*9d0120b7SKrzysztof Kozlowski led-hdd1-green { 475724ba675SRob Herring label = "synology:green:hdd1"; 476724ba675SRob Herring gpios = <&gpio0 21 GPIO_ACTIVE_LOW>; 477724ba675SRob Herring }; 478724ba675SRob Herring 479*9d0120b7SKrzysztof Kozlowski led-hdd1-amber { 480724ba675SRob Herring label = "synology:amber:hdd1"; 481724ba675SRob Herring gpios = <&gpio0 23 GPIO_ACTIVE_LOW>; 482724ba675SRob Herring }; 483724ba675SRob Herring }; 484724ba675SRob Herring 485724ba675SRob Herring gpio-leds-hdd-21-2 { 486724ba675SRob Herring status = "disabled"; 487724ba675SRob Herring compatible = "gpio-leds"; 488724ba675SRob Herring pinctrl-0 = <&pmx_hddled_21 &pmx_hddled_23 &pmx_hddled_20 &pmx_hddled_22>; 489724ba675SRob Herring pinctrl-names = "default"; 490724ba675SRob Herring 491*9d0120b7SKrzysztof Kozlowski led-hdd1-green { 492724ba675SRob Herring label = "synology:green:hdd1"; 493724ba675SRob Herring gpios = <&gpio0 21 GPIO_ACTIVE_LOW>; 494724ba675SRob Herring }; 495724ba675SRob Herring 496*9d0120b7SKrzysztof Kozlowski led-hdd1-amber { 497724ba675SRob Herring label = "synology:amber:hdd1"; 498724ba675SRob Herring gpios = <&gpio0 23 GPIO_ACTIVE_LOW>; 499724ba675SRob Herring }; 500724ba675SRob Herring 501*9d0120b7SKrzysztof Kozlowski led-hdd2-green { 502724ba675SRob Herring label = "synology:green:hdd2"; 503724ba675SRob Herring gpios = <&gpio0 20 GPIO_ACTIVE_LOW>; 504724ba675SRob Herring }; 505724ba675SRob Herring 506*9d0120b7SKrzysztof Kozlowski led-hdd2-amber { 507724ba675SRob Herring label = "synology:amber:hdd2"; 508724ba675SRob Herring gpios = <&gpio0 22 GPIO_ACTIVE_LOW>; 509724ba675SRob Herring }; 510724ba675SRob Herring }; 511724ba675SRob Herring 512724ba675SRob Herring gpio-leds-hdd-36 { 513724ba675SRob Herring status = "disabled"; 514724ba675SRob Herring compatible = "gpio-leds"; 515724ba675SRob Herring pinctrl-0 = <&pmx_hddled_36 &pmx_hddled_37 &pmx_hddled_38 516724ba675SRob Herring &pmx_hddled_39 &pmx_hddled_40 &pmx_hddled_41 517724ba675SRob Herring &pmx_hddled_42 &pmx_hddled_43 &pmx_hddled_44 518724ba675SRob Herring &pmx_hddled_45>; 519724ba675SRob Herring pinctrl-names = "default"; 520724ba675SRob Herring 521*9d0120b7SKrzysztof Kozlowski led-hdd1-green { 522724ba675SRob Herring label = "synology:green:hdd1"; 523724ba675SRob Herring gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; 524724ba675SRob Herring }; 525724ba675SRob Herring 526*9d0120b7SKrzysztof Kozlowski led-hdd1-amber { 527724ba675SRob Herring label = "synology:amber:hdd1"; 528724ba675SRob Herring gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; 529724ba675SRob Herring }; 530724ba675SRob Herring 531*9d0120b7SKrzysztof Kozlowski led-hdd2-green { 532724ba675SRob Herring label = "synology:green:hdd2"; 533724ba675SRob Herring gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; 534724ba675SRob Herring }; 535724ba675SRob Herring 536*9d0120b7SKrzysztof Kozlowski led-hdd2-amber { 537724ba675SRob Herring label = "synology:amber:hdd2"; 538724ba675SRob Herring gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; 539724ba675SRob Herring }; 540724ba675SRob Herring 541*9d0120b7SKrzysztof Kozlowski led-hdd3-green { 542724ba675SRob Herring label = "synology:green:hdd3"; 543724ba675SRob Herring gpios = <&gpio1 8 GPIO_ACTIVE_LOW>; 544724ba675SRob Herring }; 545724ba675SRob Herring 546*9d0120b7SKrzysztof Kozlowski led-hdd3-amber { 547724ba675SRob Herring label = "synology:amber:hdd3"; 548724ba675SRob Herring gpios = <&gpio1 9 GPIO_ACTIVE_LOW>; 549724ba675SRob Herring }; 550724ba675SRob Herring 551*9d0120b7SKrzysztof Kozlowski led-hdd4-green { 552724ba675SRob Herring label = "synology:green:hdd4"; 553724ba675SRob Herring gpios = <&gpio1 10 GPIO_ACTIVE_LOW>; 554724ba675SRob Herring }; 555724ba675SRob Herring 556*9d0120b7SKrzysztof Kozlowski led-hdd4-amber { 557724ba675SRob Herring label = "synology:amber:hdd4"; 558724ba675SRob Herring gpios = <&gpio1 11 GPIO_ACTIVE_LOW>; 559724ba675SRob Herring }; 560724ba675SRob Herring 561*9d0120b7SKrzysztof Kozlowski led-hdd5-green { 562724ba675SRob Herring label = "synology:green:hdd5"; 563724ba675SRob Herring gpios = <&gpio1 12 GPIO_ACTIVE_LOW>; 564724ba675SRob Herring }; 565724ba675SRob Herring 566*9d0120b7SKrzysztof Kozlowski led-hdd5-amber { 567724ba675SRob Herring label = "synology:amber:hdd5"; 568724ba675SRob Herring gpios = <&gpio1 13 GPIO_ACTIVE_LOW>; 569724ba675SRob Herring }; 570724ba675SRob Herring }; 571724ba675SRob Herring 572724ba675SRob Herring gpio-leds-hdd-38 { 573724ba675SRob Herring status = "disabled"; 574724ba675SRob Herring compatible = "gpio-leds"; 575724ba675SRob Herring pinctrl-0 = <&pmx_hddled_38 &pmx_hddled_39 &pmx_hddled_36 &pmx_hddled_37>; 576724ba675SRob Herring pinctrl-names = "default"; 577724ba675SRob Herring 578*9d0120b7SKrzysztof Kozlowski led-hdd1-green { 579724ba675SRob Herring label = "synology:green:hdd1"; 580724ba675SRob Herring gpios = <&gpio1 6 GPIO_ACTIVE_LOW>; 581724ba675SRob Herring }; 582724ba675SRob Herring 583*9d0120b7SKrzysztof Kozlowski led-hdd1-amber { 584724ba675SRob Herring label = "synology:amber:hdd1"; 585724ba675SRob Herring gpios = <&gpio1 7 GPIO_ACTIVE_LOW>; 586724ba675SRob Herring }; 587724ba675SRob Herring 588*9d0120b7SKrzysztof Kozlowski led-hdd2-green { 589724ba675SRob Herring label = "synology:green:hdd2"; 590724ba675SRob Herring gpios = <&gpio1 4 GPIO_ACTIVE_LOW>; 591724ba675SRob Herring }; 592724ba675SRob Herring 593*9d0120b7SKrzysztof Kozlowski led-hdd2-amber { 594724ba675SRob Herring label = "synology:amber:hdd2"; 595724ba675SRob Herring gpios = <&gpio1 5 GPIO_ACTIVE_LOW>; 596724ba675SRob Herring }; 597724ba675SRob Herring }; 598724ba675SRob Herring 599724ba675SRob Herring regulators-hdd-29 { 600724ba675SRob Herring status = "disabled"; 601724ba675SRob Herring compatible = "simple-bus"; 602724ba675SRob Herring #address-cells = <1>; 603724ba675SRob Herring #size-cells = <0>; 604724ba675SRob Herring pinctrl-0 = <&pmx_hdd1_pwr_29 &pmx_hdd2_pwr_31>; 605724ba675SRob Herring pinctrl-names = "default"; 606724ba675SRob Herring 607724ba675SRob Herring regulator@1 { 608724ba675SRob Herring compatible = "regulator-fixed"; 609724ba675SRob Herring reg = <1>; 610724ba675SRob Herring regulator-name = "hdd1power"; 611724ba675SRob Herring regulator-min-microvolt = <5000000>; 612724ba675SRob Herring regulator-max-microvolt = <5000000>; 613724ba675SRob Herring enable-active-high; 614724ba675SRob Herring regulator-always-on; 615724ba675SRob Herring regulator-boot-on; 616724ba675SRob Herring startup-delay-us = <5000000>; 617724ba675SRob Herring gpio = <&gpio0 29 GPIO_ACTIVE_HIGH>; 618724ba675SRob Herring }; 619724ba675SRob Herring 620724ba675SRob Herring regulator@2 { 621724ba675SRob Herring compatible = "regulator-fixed"; 622724ba675SRob Herring reg = <2>; 623724ba675SRob Herring regulator-name = "hdd2power"; 624724ba675SRob Herring regulator-min-microvolt = <5000000>; 625724ba675SRob Herring regulator-max-microvolt = <5000000>; 626724ba675SRob Herring enable-active-high; 627724ba675SRob Herring regulator-always-on; 628724ba675SRob Herring regulator-boot-on; 629724ba675SRob Herring startup-delay-us = <5000000>; 630724ba675SRob Herring gpio = <&gpio0 31 GPIO_ACTIVE_HIGH>; 631724ba675SRob Herring }; 632724ba675SRob Herring }; 633724ba675SRob Herring 634724ba675SRob Herring regulators-hdd-30-1 { 635724ba675SRob Herring status = "disabled"; 636724ba675SRob Herring compatible = "simple-bus"; 637724ba675SRob Herring #address-cells = <1>; 638724ba675SRob Herring #size-cells = <0>; 639724ba675SRob Herring pinctrl-0 = <&pmx_hdd1_pwr_30>; 640724ba675SRob Herring pinctrl-names = "default"; 641724ba675SRob Herring 642724ba675SRob Herring regulator@1 { 643724ba675SRob Herring compatible = "regulator-fixed"; 644724ba675SRob Herring reg = <1>; 645724ba675SRob Herring regulator-name = "hdd1power"; 646724ba675SRob Herring regulator-min-microvolt = <5000000>; 647724ba675SRob Herring regulator-max-microvolt = <5000000>; 648724ba675SRob Herring enable-active-high; 649724ba675SRob Herring regulator-always-on; 650724ba675SRob Herring regulator-boot-on; 651724ba675SRob Herring startup-delay-us = <5000000>; 652724ba675SRob Herring gpio = <&gpio0 30 GPIO_ACTIVE_HIGH>; 653724ba675SRob Herring }; 654724ba675SRob Herring }; 655724ba675SRob Herring 656724ba675SRob Herring regulators-hdd-30-2 { 657724ba675SRob Herring status = "disabled"; 658724ba675SRob Herring compatible = "simple-bus"; 659724ba675SRob Herring #address-cells = <1>; 660724ba675SRob Herring #size-cells = <0>; 661724ba675SRob Herring pinctrl-0 = <&pmx_hdd1_pwr_30 &pmx_hdd2_pwr_34>; 662724ba675SRob Herring pinctrl-names = "default"; 663724ba675SRob Herring 664724ba675SRob Herring regulator@1 { 665724ba675SRob Herring compatible = "regulator-fixed"; 666724ba675SRob Herring reg = <1>; 667724ba675SRob Herring regulator-name = "hdd1power"; 668724ba675SRob Herring regulator-min-microvolt = <5000000>; 669724ba675SRob Herring regulator-max-microvolt = <5000000>; 670724ba675SRob Herring enable-active-high; 671724ba675SRob Herring regulator-always-on; 672724ba675SRob Herring regulator-boot-on; 673724ba675SRob Herring startup-delay-us = <5000000>; 674724ba675SRob Herring gpio = <&gpio0 30 GPIO_ACTIVE_HIGH>; 675724ba675SRob Herring }; 676724ba675SRob Herring 677724ba675SRob Herring regulator@2 { 678724ba675SRob Herring compatible = "regulator-fixed"; 679724ba675SRob Herring reg = <2>; 680724ba675SRob Herring regulator-name = "hdd2power"; 681724ba675SRob Herring regulator-min-microvolt = <5000000>; 682724ba675SRob Herring regulator-max-microvolt = <5000000>; 683724ba675SRob Herring enable-active-high; 684724ba675SRob Herring regulator-always-on; 685724ba675SRob Herring regulator-boot-on; 686724ba675SRob Herring startup-delay-us = <5000000>; 687724ba675SRob Herring gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>; 688724ba675SRob Herring }; 689724ba675SRob Herring }; 690724ba675SRob Herring 691724ba675SRob Herring regulators-hdd-30-4 { 692724ba675SRob Herring status = "disabled"; 693724ba675SRob Herring compatible = "simple-bus"; 694724ba675SRob Herring #address-cells = <1>; 695724ba675SRob Herring #size-cells = <0>; 696724ba675SRob Herring pinctrl-0 = <&pmx_hdd1_pwr_30 &pmx_hdd2_pwr_34 697724ba675SRob Herring &pmx_hdd3_pwr_44 &pmx_hdd4_pwr_45>; 698724ba675SRob Herring pinctrl-names = "default"; 699724ba675SRob Herring 700724ba675SRob Herring regulator@1 { 701724ba675SRob Herring compatible = "regulator-fixed"; 702724ba675SRob Herring reg = <1>; 703724ba675SRob Herring regulator-name = "hdd1power"; 704724ba675SRob Herring regulator-min-microvolt = <5000000>; 705724ba675SRob Herring regulator-max-microvolt = <5000000>; 706724ba675SRob Herring enable-active-high; 707724ba675SRob Herring regulator-always-on; 708724ba675SRob Herring regulator-boot-on; 709724ba675SRob Herring startup-delay-us = <5000000>; 710724ba675SRob Herring gpio = <&gpio0 30 GPIO_ACTIVE_HIGH>; 711724ba675SRob Herring }; 712724ba675SRob Herring 713724ba675SRob Herring regulator@2 { 714724ba675SRob Herring compatible = "regulator-fixed"; 715724ba675SRob Herring reg = <2>; 716724ba675SRob Herring regulator-name = "hdd2power"; 717724ba675SRob Herring regulator-min-microvolt = <5000000>; 718724ba675SRob Herring regulator-max-microvolt = <5000000>; 719724ba675SRob Herring enable-active-high; 720724ba675SRob Herring regulator-always-on; 721724ba675SRob Herring regulator-boot-on; 722724ba675SRob Herring startup-delay-us = <5000000>; 723724ba675SRob Herring gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>; 724724ba675SRob Herring }; 725724ba675SRob Herring 726724ba675SRob Herring regulator@3 { 727724ba675SRob Herring compatible = "regulator-fixed"; 728724ba675SRob Herring reg = <3>; 729724ba675SRob Herring regulator-name = "hdd3power"; 730724ba675SRob Herring regulator-min-microvolt = <5000000>; 731724ba675SRob Herring regulator-max-microvolt = <5000000>; 732724ba675SRob Herring enable-active-high; 733724ba675SRob Herring regulator-always-on; 734724ba675SRob Herring regulator-boot-on; 735724ba675SRob Herring startup-delay-us = <5000000>; 736724ba675SRob Herring gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>; 737724ba675SRob Herring }; 738724ba675SRob Herring 739724ba675SRob Herring regulator@4 { 740724ba675SRob Herring compatible = "regulator-fixed"; 741724ba675SRob Herring reg = <4>; 742724ba675SRob Herring regulator-name = "hdd4power"; 743724ba675SRob Herring regulator-min-microvolt = <5000000>; 744724ba675SRob Herring regulator-max-microvolt = <5000000>; 745724ba675SRob Herring enable-active-high; 746724ba675SRob Herring regulator-always-on; 747724ba675SRob Herring regulator-boot-on; 748724ba675SRob Herring startup-delay-us = <5000000>; 749724ba675SRob Herring gpio = <&gpio1 13 GPIO_ACTIVE_HIGH>; 750724ba675SRob Herring }; 751724ba675SRob Herring }; 752724ba675SRob Herring 753724ba675SRob Herring regulators-hdd-31 { 754724ba675SRob Herring status = "disabled"; 755724ba675SRob Herring compatible = "simple-bus"; 756724ba675SRob Herring #address-cells = <1>; 757724ba675SRob Herring #size-cells = <0>; 758724ba675SRob Herring pinctrl-0 = <&pmx_hdd2_pwr_31>; 759724ba675SRob Herring pinctrl-names = "default"; 760724ba675SRob Herring 761724ba675SRob Herring regulator@1 { 762724ba675SRob Herring compatible = "regulator-fixed"; 763724ba675SRob Herring reg = <1>; 764724ba675SRob Herring regulator-name = "hdd2power"; 765724ba675SRob Herring regulator-min-microvolt = <5000000>; 766724ba675SRob Herring regulator-max-microvolt = <5000000>; 767724ba675SRob Herring enable-active-high; 768724ba675SRob Herring regulator-always-on; 769724ba675SRob Herring regulator-boot-on; 770724ba675SRob Herring startup-delay-us = <5000000>; 771724ba675SRob Herring gpio = <&gpio0 31 GPIO_ACTIVE_HIGH>; 772724ba675SRob Herring }; 773724ba675SRob Herring }; 774724ba675SRob Herring 775724ba675SRob Herring regulators-hdd-34 { 776724ba675SRob Herring status = "disabled"; 777724ba675SRob Herring compatible = "simple-bus"; 778724ba675SRob Herring #address-cells = <1>; 779724ba675SRob Herring #size-cells = <0>; 780724ba675SRob Herring pinctrl-0 = <&pmx_hdd2_pwr_34 &pmx_hdd3_pwr_44 781724ba675SRob Herring &pmx_hdd4_pwr_45>; 782724ba675SRob Herring pinctrl-names = "default"; 783724ba675SRob Herring 784724ba675SRob Herring regulator@2 { 785724ba675SRob Herring compatible = "regulator-fixed"; 786724ba675SRob Herring reg = <2>; 787724ba675SRob Herring regulator-name = "hdd2power"; 788724ba675SRob Herring regulator-min-microvolt = <5000000>; 789724ba675SRob Herring regulator-max-microvolt = <5000000>; 790724ba675SRob Herring enable-active-high; 791724ba675SRob Herring regulator-always-on; 792724ba675SRob Herring regulator-boot-on; 793724ba675SRob Herring startup-delay-us = <5000000>; 794724ba675SRob Herring gpio = <&gpio1 2 GPIO_ACTIVE_HIGH>; 795724ba675SRob Herring }; 796724ba675SRob Herring 797724ba675SRob Herring regulator@3 { 798724ba675SRob Herring compatible = "regulator-fixed"; 799724ba675SRob Herring reg = <3>; 800724ba675SRob Herring regulator-name = "hdd3power"; 801724ba675SRob Herring regulator-min-microvolt = <5000000>; 802724ba675SRob Herring regulator-max-microvolt = <5000000>; 803724ba675SRob Herring enable-active-high; 804724ba675SRob Herring regulator-always-on; 805724ba675SRob Herring regulator-boot-on; 806724ba675SRob Herring startup-delay-us = <5000000>; 807724ba675SRob Herring gpio = <&gpio1 12 GPIO_ACTIVE_HIGH>; 808724ba675SRob Herring }; 809724ba675SRob Herring 810724ba675SRob Herring regulator@4 { 811724ba675SRob Herring compatible = "regulator-fixed"; 812724ba675SRob Herring reg = <4>; 813724ba675SRob Herring regulator-name = "hdd4power"; 814724ba675SRob Herring regulator-min-microvolt = <5000000>; 815724ba675SRob Herring regulator-max-microvolt = <5000000>; 816724ba675SRob Herring enable-active-high; 817724ba675SRob Herring regulator-always-on; 818724ba675SRob Herring regulator-boot-on; 819724ba675SRob Herring startup-delay-us = <5000000>; 820724ba675SRob Herring gpio = <&gpio1 13 GPIO_ACTIVE_HIGH>; 821724ba675SRob Herring }; 822724ba675SRob Herring }; 823724ba675SRob Herring}; 824724ba675SRob Herring 825724ba675SRob Herring&mdio { 826724ba675SRob Herring status = "okay"; 827724ba675SRob Herring 828724ba675SRob Herring ethphy0: ethernet-phy@0 { 829724ba675SRob Herring device_type = "ethernet-phy"; 830724ba675SRob Herring reg = <8>; 831724ba675SRob Herring }; 832724ba675SRob Herring 833724ba675SRob Herring ethphy1: ethernet-phy@1 { 834724ba675SRob Herring device_type = "ethernet-phy"; 835724ba675SRob Herring reg = <9>; 836724ba675SRob Herring }; 837724ba675SRob Herring}; 838724ba675SRob Herring 839724ba675SRob Herringð0 { 840724ba675SRob Herring status = "okay"; 841724ba675SRob Herring 842724ba675SRob Herring ethernet0-port@0 { 843724ba675SRob Herring phy-handle = <ðphy0>; 844724ba675SRob Herring }; 845724ba675SRob Herring}; 846724ba675SRob Herring 847724ba675SRob Herringð1 { 848724ba675SRob Herring status = "disabled"; 849724ba675SRob Herring 850724ba675SRob Herring ethernet1-port@0 { 851724ba675SRob Herring phy-handle = <ðphy1>; 852724ba675SRob Herring }; 853724ba675SRob Herring}; 854724ba675SRob Herring 855724ba675SRob Herring&pciec { 856724ba675SRob Herring status = "okay"; 857724ba675SRob Herring}; 858724ba675SRob Herring 859724ba675SRob Herring&pcie0 { 860724ba675SRob Herring status = "okay"; 861724ba675SRob Herring}; 862