Magnus Damm | 78ded16 | 2013-03-29 17:00:02 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for the APE6EVM board |
| 3 | * |
| 4 | * Copyright (C) 2013 Renesas Solutions Corp. |
| 5 | * |
| 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | * version 2. This program is licensed "as is" without any warranty of any |
| 8 | * kind, whether express or implied. |
| 9 | */ |
| 10 | |
| 11 | /dts-v1/; |
Laurent Pinchart | 31c46cb | 2013-11-09 13:23:53 +0100 | [diff] [blame] | 12 | #include "r8a73a4.dtsi" |
Laurent Pinchart | 77e2d7e | 2013-11-09 13:23:55 +0100 | [diff] [blame] | 13 | #include <dt-bindings/interrupt-controller/irq.h> |
Magnus Damm | 78ded16 | 2013-03-29 17:00:02 +0900 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | model = "APE6EVM"; |
| 17 | compatible = "renesas,ape6evm", "renesas,r8a73a4"; |
| 18 | |
| 19 | chosen { |
Laurent Pinchart | d2f463a | 2013-07-29 22:31:41 +0200 | [diff] [blame] | 20 | bootargs = "console=ttySC0,115200 ignore_loglevel root=/dev/nfs ip=dhcp rw"; |
Magnus Damm | 78ded16 | 2013-03-29 17:00:02 +0900 | [diff] [blame] | 21 | }; |
| 22 | |
| 23 | memory@40000000 { |
| 24 | device_type = "memory"; |
| 25 | reg = <0 0x40000000 0 0x40000000>; |
| 26 | }; |
| 27 | |
Takashi Yoshii | 8353f09 | 2013-10-31 12:15:49 +0900 | [diff] [blame] | 28 | memory@200000000 { |
| 29 | device_type = "memory"; |
| 30 | reg = <2 0x00000000 0 0x40000000>; |
| 31 | }; |
| 32 | |
Magnus Damm | 15351a7a | 2013-03-29 17:00:21 +0900 | [diff] [blame] | 33 | ape6evm_fixed_3v3: fixedregulator@0 { |
| 34 | compatible = "regulator-fixed"; |
| 35 | regulator-name = "3V3"; |
| 36 | regulator-min-microvolt = <3300000>; |
| 37 | regulator-max-microvolt = <3300000>; |
| 38 | regulator-always-on; |
| 39 | }; |
| 40 | |
Magnus Damm | 78ded16 | 2013-03-29 17:00:02 +0900 | [diff] [blame] | 41 | lbsc { |
| 42 | #address-cells = <1>; |
| 43 | #size-cells = <1>; |
Magnus Damm | 15351a7a | 2013-03-29 17:00:21 +0900 | [diff] [blame] | 44 | |
| 45 | ethernet@8000000 { |
| 46 | compatible = "smsc,lan9118", "smsc,lan9115"; |
| 47 | reg = <0x08000000 0x1000>; |
| 48 | interrupt-parent = <&irqc1>; |
Laurent Pinchart | 77e2d7e | 2013-11-09 13:23:55 +0100 | [diff] [blame] | 49 | interrupts = <8 IRQ_TYPE_LEVEL_HIGH>; |
Magnus Damm | 15351a7a | 2013-03-29 17:00:21 +0900 | [diff] [blame] | 50 | phy-mode = "mii"; |
| 51 | reg-io-width = <4>; |
| 52 | smsc,irq-active-high; |
| 53 | smsc,irq-push-pull; |
| 54 | vdd33a-supply = <&ape6evm_fixed_3v3>; |
| 55 | vddvario-supply = <&ape6evm_fixed_3v3>; |
| 56 | }; |
Magnus Damm | 78ded16 | 2013-03-29 17:00:02 +0900 | [diff] [blame] | 57 | }; |
| 58 | }; |
Guennadi Liakhovetski | 463a243 | 2013-06-27 11:47:58 +0200 | [diff] [blame] | 59 | |
| 60 | &i2c5 { |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 61 | status = "okay"; |
Guennadi Liakhovetski | 463a243 | 2013-06-27 11:47:58 +0200 | [diff] [blame] | 62 | vdd_dvfs: max8973@1b { |
| 63 | compatible = "maxim,max8973"; |
| 64 | reg = <0x1b>; |
| 65 | |
| 66 | regulator-min-microvolt = <935000>; |
| 67 | regulator-max-microvolt = <1200000>; |
| 68 | regulator-boot-on; |
| 69 | regulator-always-on; |
| 70 | }; |
| 71 | }; |
| 72 | |
| 73 | &cpu0 { |
| 74 | cpu0-supply = <&vdd_dvfs>; |
| 75 | operating-points = < |
| 76 | /* kHz uV */ |
| 77 | 1950000 1115000 |
| 78 | 1462500 995000 |
| 79 | >; |
| 80 | voltage-tolerance = <1>; /* 1% */ |
| 81 | }; |