Simon Horman | 73d6a69 | 2013-01-29 11:40:18 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Reference Device Tree Source for the Marzen board |
| 3 | * |
| 4 | * Copyright (C) 2013 Renesas Solutions Corp. |
| 5 | * Copyright (C) 2013 Simon Horman |
| 6 | * |
| 7 | * This file is licensed under the terms of the GNU General Public License |
| 8 | * version 2. This program is licensed "as is" without any warranty of any |
| 9 | * kind, whether express or implied. |
| 10 | */ |
| 11 | |
| 12 | /dts-v1/; |
| 13 | /include/ "r8a7779.dtsi" |
Laurent Pinchart | 80d1126 | 2013-05-10 00:23:04 +0200 | [diff] [blame] | 14 | #include <dt-bindings/gpio/gpio.h> |
Simon Horman | 73d6a69 | 2013-01-29 11:40:18 +0900 | [diff] [blame] | 15 | |
| 16 | / { |
| 17 | model = "marzen"; |
| 18 | compatible = "renesas,marzen-reference", "renesas,r8a7779"; |
| 19 | |
| 20 | chosen { |
Laurent Pinchart | d2f463a | 2013-07-29 22:31:41 +0200 | [diff] [blame] | 21 | bootargs = "console=ttySC2,115200 earlyprintk=sh-sci.2,115200 ignore_loglevel root=/dev/nfs ip=on rw"; |
Simon Horman | 73d6a69 | 2013-01-29 11:40:18 +0900 | [diff] [blame] | 22 | }; |
| 23 | |
| 24 | memory { |
| 25 | device_type = "memory"; |
| 26 | reg = <0x60000000 0x40000000>; |
| 27 | }; |
| 28 | |
| 29 | fixedregulator3v3: fixedregulator@0 { |
| 30 | compatible = "regulator-fixed"; |
| 31 | regulator-name = "fixed-3.3V"; |
| 32 | regulator-min-microvolt = <3300000>; |
| 33 | regulator-max-microvolt = <3300000>; |
| 34 | regulator-boot-on; |
| 35 | regulator-always-on; |
| 36 | }; |
| 37 | |
| 38 | lan0@18000000 { |
| 39 | compatible = "smsc,lan9220", "smsc,lan9115"; |
| 40 | reg = <0x18000000 0x100>; |
Laurent Pinchart | c4a003f | 2013-05-09 17:41:59 +0200 | [diff] [blame] | 41 | pinctrl-0 = <&lan0_pins>; |
| 42 | pinctrl-names = "default"; |
| 43 | |
Simon Horman | 73d6a69 | 2013-01-29 11:40:18 +0900 | [diff] [blame] | 44 | phy-mode = "mii"; |
| 45 | interrupt-parent = <&gic>; |
| 46 | interrupts = <0 28 0x4>; |
| 47 | reg-io-width = <4>; |
| 48 | vddvario-supply = <&fixedregulator3v3>; |
| 49 | vdd33a-supply = <&fixedregulator3v3>; |
| 50 | }; |
Laurent Pinchart | 80d1126 | 2013-05-10 00:23:04 +0200 | [diff] [blame] | 51 | |
| 52 | leds { |
| 53 | compatible = "gpio-leds"; |
| 54 | led2 { |
| 55 | gpios = <&gpio4 29 GPIO_ACTIVE_HIGH>; |
| 56 | }; |
| 57 | led3 { |
| 58 | gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>; |
| 59 | }; |
| 60 | led4 { |
| 61 | gpios = <&gpio4 31 GPIO_ACTIVE_HIGH>; |
| 62 | }; |
| 63 | }; |
Simon Horman | 73d6a69 | 2013-01-29 11:40:18 +0900 | [diff] [blame] | 64 | }; |
Laurent Pinchart | c4a003f | 2013-05-09 17:41:59 +0200 | [diff] [blame] | 65 | |
| 66 | &pfc { |
| 67 | pinctrl-0 = <&scif2_pins &scif4_pins &sdhi0_pins>; |
| 68 | pinctrl-names = "default"; |
| 69 | |
| 70 | lan0_pins: lan0 { |
| 71 | intc { |
| 72 | renesas,groups = "intc_irq1_b"; |
| 73 | renesas,function = "intc"; |
| 74 | }; |
| 75 | lbsc { |
| 76 | renesas,groups = "lbsc_ex_cs0"; |
| 77 | renesas,function = "lbsc"; |
| 78 | }; |
| 79 | }; |
| 80 | |
| 81 | scif2_pins: scif2 { |
| 82 | renesas,groups = "scif2_data_c"; |
| 83 | renesas,function = "scif2"; |
| 84 | }; |
| 85 | |
| 86 | scif4_pins: scif4 { |
| 87 | renesas,groups = "scif4_data"; |
| 88 | renesas,function = "scif4"; |
| 89 | }; |
| 90 | |
| 91 | sdhi0_pins: sdhi0 { |
| 92 | renesas,groups = "sdhi0_data4", "sdhi0_ctrl", "sdhi0_cd", |
| 93 | "sdhi0_wp"; |
| 94 | renesas,function = "sdhi0"; |
| 95 | }; |
| 96 | }; |