]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blob - arch/arm/boot/dts/emev2-kzm9d.dts
Merge tag 'mvebu-fixes-4.17-2' of git://git.infradead.org/linux-mvebu into fixes
[mirror_ubuntu-eoan-kernel.git] / arch / arm / boot / dts / emev2-kzm9d.dts
1 /*
2 * Device Tree Source for the KZM9D 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 /dts-v1/;
11
12 #include "emev2.dtsi"
13 #include <dt-bindings/gpio/gpio.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/interrupt-controller/irq.h>
16
17 / {
18 model = "EMEV2 KZM9D Board";
19 compatible = "renesas,kzm9d", "renesas,emev2";
20
21 memory@40000000 {
22 device_type = "memory";
23 reg = <0x40000000 0x8000000>;
24 };
25
26 aliases {
27 serial1 = &uart1;
28 };
29
30 chosen {
31 bootargs = "ignore_loglevel root=/dev/nfs ip=dhcp";
32 stdout-path = "serial1:115200n8";
33 };
34
35 gpio_keys {
36 compatible = "gpio-keys";
37 one {
38 debounce-interval = <50>;
39 wakeup-source;
40 label = "DSW2-1";
41 linux,code = <KEY_1>;
42 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
43 };
44 two {
45 debounce-interval = <50>;
46 wakeup-source;
47 label = "DSW2-2";
48 linux,code = <KEY_2>;
49 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
50 };
51 three {
52 debounce-interval = <50>;
53 wakeup-source;
54 label = "DSW2-3";
55 linux,code = <KEY_3>;
56 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
57 };
58 four {
59 debounce-interval = <50>;
60 wakeup-source;
61 label = "DSW2-4";
62 linux,code = <KEY_4>;
63 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
64 };
65 };
66
67 reg_1p8v: regulator-1p8v {
68 compatible = "regulator-fixed";
69 regulator-name = "fixed-1.8V";
70 regulator-min-microvolt = <1800000>;
71 regulator-max-microvolt = <1800000>;
72 regulator-always-on;
73 regulator-boot-on;
74 };
75
76 reg_3p3v: regulator-3p3v {
77 compatible = "regulator-fixed";
78 regulator-name = "fixed-3.3V";
79 regulator-min-microvolt = <3300000>;
80 regulator-max-microvolt = <3300000>;
81 regulator-always-on;
82 regulator-boot-on;
83 };
84
85 ethernet@20000000 {
86 compatible = "smsc,lan9220", "smsc,lan9115";
87 reg = <0x20000000 0x10000>;
88 phy-mode = "mii";
89 interrupt-parent = <&gpio0>;
90 interrupts = <1 IRQ_TYPE_EDGE_RISING>;
91 reg-io-width = <4>;
92 smsc,irq-active-high;
93 smsc,irq-push-pull;
94 vddvario-supply = <&reg_1p8v>;
95 vdd33a-supply = <&reg_3p3v>;
96 };
97 };
98
99 &iic0 {
100 status = "okay";
101 };
102
103 &iic1 {
104 status = "okay";
105 };
106
107 &pfc {
108 uart1_pins: uart1 {
109 groups = "uart1_ctrl", "uart1_data";
110 function = "uart1";
111 };
112 };
113
114 &uart1 {
115 pinctrl-0 = <&uart1_pins>;
116 pinctrl-names = "default";
117 status = "okay";
118 };