Simon Baatz | ee514b38 | 2013-05-13 23:19:00 +0200 | [diff] [blame] | 1 | /* |
Simon Baatz | 1407901 | 2013-10-31 20:35:19 +0100 | [diff] [blame] | 2 | * kirkwood-sheevaplug-common.dtsi - Common parts for Sheevaplugs |
Simon Baatz | ee514b38 | 2013-05-13 23:19:00 +0200 | [diff] [blame] | 3 | * |
| 4 | * Copyright (C) 2013 Simon Baatz <gmbnomis@gmail.com> |
| 5 | * |
| 6 | * Licensed under GPLv2 |
| 7 | */ |
| 8 | |
Ezequiel Garcia | 0ab6129 | 2013-07-26 10:18:02 -0300 | [diff] [blame] | 9 | #include "kirkwood.dtsi" |
| 10 | #include "kirkwood-6281.dtsi" |
Simon Baatz | ee514b38 | 2013-05-13 23:19:00 +0200 | [diff] [blame] | 11 | |
| 12 | / { |
| 13 | memory { |
| 14 | device_type = "memory"; |
| 15 | reg = <0x00000000 0x20000000>; |
| 16 | }; |
| 17 | |
| 18 | chosen { |
| 19 | bootargs = "console=ttyS0,115200n8 earlyprintk"; |
| 20 | }; |
| 21 | |
| 22 | ocp@f1000000 { |
| 23 | pinctrl: pinctrl@10000 { |
| 24 | |
| 25 | pmx_usb_power_enable: pmx-usb-power-enable { |
| 26 | marvell,pins = "mpp29"; |
| 27 | marvell,function = "gpio"; |
| 28 | }; |
| 29 | pmx_led_red: pmx-led-red { |
| 30 | marvell,pins = "mpp46"; |
| 31 | marvell,function = "gpio"; |
| 32 | }; |
| 33 | pmx_led_blue: pmx-led-blue { |
| 34 | marvell,pins = "mpp49"; |
| 35 | marvell,function = "gpio"; |
| 36 | }; |
| 37 | pmx_sdio_cd: pmx-sdio-cd { |
| 38 | marvell,pins = "mpp44"; |
| 39 | marvell,function = "gpio"; |
| 40 | }; |
| 41 | pmx_sdio_wp: pmx-sdio-wp { |
| 42 | marvell,pins = "mpp47"; |
| 43 | marvell,function = "gpio"; |
| 44 | }; |
| 45 | }; |
| 46 | serial@12000 { |
Simon Baatz | a649277 | 2013-06-04 23:32:32 +0200 | [diff] [blame] | 47 | pinctrl-0 = <&pmx_uart0>; |
| 48 | pinctrl-names = "default"; |
Simon Baatz | ee514b38 | 2013-05-13 23:19:00 +0200 | [diff] [blame] | 49 | status = "okay"; |
| 50 | }; |
Simon Baatz | ee514b38 | 2013-05-13 23:19:00 +0200 | [diff] [blame] | 51 | }; |
| 52 | |
| 53 | regulators { |
| 54 | compatible = "simple-bus"; |
| 55 | #address-cells = <1>; |
| 56 | #size-cells = <0>; |
Simon Baatz | a649277 | 2013-06-04 23:32:32 +0200 | [diff] [blame] | 57 | pinctrl-0 = <&pmx_usb_power_enable>; |
| 58 | pinctrl-names = "default"; |
Simon Baatz | ee514b38 | 2013-05-13 23:19:00 +0200 | [diff] [blame] | 59 | |
| 60 | usb_power: regulator@1 { |
| 61 | compatible = "regulator-fixed"; |
| 62 | reg = <1>; |
| 63 | regulator-name = "USB Power"; |
| 64 | regulator-min-microvolt = <5000000>; |
| 65 | regulator-max-microvolt = <5000000>; |
| 66 | enable-active-high; |
| 67 | regulator-always-on; |
| 68 | regulator-boot-on; |
| 69 | gpio = <&gpio0 29 0>; |
| 70 | }; |
| 71 | }; |
Simon Baatz | ee514b38 | 2013-05-13 23:19:00 +0200 | [diff] [blame] | 72 | }; |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 73 | |
Jason Gunthorpe | 7045ff5 | 2013-09-17 12:44:33 -0600 | [diff] [blame] | 74 | &nand { |
| 75 | pinctrl-0 = <&pmx_nand>; |
| 76 | pinctrl-names = "default"; |
| 77 | status = "okay"; |
| 78 | |
| 79 | partition@0 { |
| 80 | label = "u-boot"; |
| 81 | reg = <0x0000000 0x100000>; |
| 82 | }; |
| 83 | |
| 84 | partition@100000 { |
| 85 | label = "uImage"; |
| 86 | reg = <0x0100000 0x400000>; |
| 87 | }; |
| 88 | |
| 89 | partition@500000 { |
| 90 | label = "root"; |
| 91 | reg = <0x0500000 0x1fb00000>; |
| 92 | }; |
| 93 | }; |
| 94 | |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 95 | &mdio { |
| 96 | status = "okay"; |
| 97 | |
| 98 | ethphy0: ethernet-phy@0 { |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 99 | reg = <0>; |
| 100 | }; |
| 101 | }; |
| 102 | |
| 103 | ð0 { |
| 104 | status = "okay"; |
| 105 | ethernet0-port@0 { |
| 106 | phy-handle = <ðphy0>; |
| 107 | }; |
| 108 | }; |