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"; |
Sebastian Hesselbarth | ab83361 | 2014-04-30 14:56:30 +0200 | [diff] [blame] | 20 | stdout-path = &uart0; |
Simon Baatz | ee514b38 | 2013-05-13 23:19:00 +0200 | [diff] [blame] | 21 | }; |
| 22 | |
| 23 | ocp@f1000000 { |
Sebastian Hesselbarth | a9483969 | 2014-04-30 14:56:32 +0200 | [diff] [blame] | 24 | pinctrl: pin-controller@10000 { |
Simon Baatz | ee514b38 | 2013-05-13 23:19:00 +0200 | [diff] [blame] | 25 | |
| 26 | pmx_usb_power_enable: pmx-usb-power-enable { |
| 27 | marvell,pins = "mpp29"; |
| 28 | marvell,function = "gpio"; |
| 29 | }; |
| 30 | pmx_led_red: pmx-led-red { |
| 31 | marvell,pins = "mpp46"; |
| 32 | marvell,function = "gpio"; |
| 33 | }; |
| 34 | pmx_led_blue: pmx-led-blue { |
| 35 | marvell,pins = "mpp49"; |
| 36 | marvell,function = "gpio"; |
| 37 | }; |
| 38 | pmx_sdio_cd: pmx-sdio-cd { |
| 39 | marvell,pins = "mpp44"; |
| 40 | marvell,function = "gpio"; |
| 41 | }; |
| 42 | pmx_sdio_wp: pmx-sdio-wp { |
| 43 | marvell,pins = "mpp47"; |
| 44 | marvell,function = "gpio"; |
| 45 | }; |
| 46 | }; |
| 47 | serial@12000 { |
| 48 | status = "okay"; |
| 49 | }; |
Simon Baatz | ee514b38 | 2013-05-13 23:19:00 +0200 | [diff] [blame] | 50 | }; |
| 51 | |
| 52 | regulators { |
| 53 | compatible = "simple-bus"; |
| 54 | #address-cells = <1>; |
| 55 | #size-cells = <0>; |
Simon Baatz | a649277 | 2013-06-04 23:32:32 +0200 | [diff] [blame] | 56 | pinctrl-0 = <&pmx_usb_power_enable>; |
| 57 | pinctrl-names = "default"; |
Simon Baatz | ee514b38 | 2013-05-13 23:19:00 +0200 | [diff] [blame] | 58 | |
| 59 | usb_power: regulator@1 { |
| 60 | compatible = "regulator-fixed"; |
| 61 | reg = <1>; |
| 62 | regulator-name = "USB Power"; |
| 63 | regulator-min-microvolt = <5000000>; |
| 64 | regulator-max-microvolt = <5000000>; |
| 65 | enable-active-high; |
| 66 | regulator-always-on; |
| 67 | regulator-boot-on; |
| 68 | gpio = <&gpio0 29 0>; |
| 69 | }; |
| 70 | }; |
Simon Baatz | ee514b38 | 2013-05-13 23:19:00 +0200 | [diff] [blame] | 71 | }; |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 72 | |
Jason Gunthorpe | 7045ff5 | 2013-09-17 12:44:33 -0600 | [diff] [blame] | 73 | &nand { |
Jason Gunthorpe | 7045ff5 | 2013-09-17 12:44:33 -0600 | [diff] [blame] | 74 | status = "okay"; |
| 75 | |
| 76 | partition@0 { |
| 77 | label = "u-boot"; |
| 78 | reg = <0x0000000 0x100000>; |
| 79 | }; |
| 80 | |
| 81 | partition@100000 { |
| 82 | label = "uImage"; |
| 83 | reg = <0x0100000 0x400000>; |
| 84 | }; |
| 85 | |
| 86 | partition@500000 { |
| 87 | label = "root"; |
| 88 | reg = <0x0500000 0x1fb00000>; |
| 89 | }; |
| 90 | }; |
| 91 | |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 92 | &mdio { |
| 93 | status = "okay"; |
| 94 | |
| 95 | ethphy0: ethernet-phy@0 { |
Sebastian Hesselbarth | 876e233 | 2013-07-07 22:34:56 +0200 | [diff] [blame] | 96 | reg = <0>; |
| 97 | }; |
| 98 | }; |
| 99 | |
| 100 | ð0 { |
| 101 | status = "okay"; |
| 102 | ethernet0-port@0 { |
| 103 | phy-handle = <ðphy0>; |
| 104 | }; |
| 105 | }; |