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.
--- 21 unchanged lines hidden (view full) ---
30
31 gpio_keys {
32 compatible = "gpio-keys";
33 #address-cells = <1>;
34 #size-cells = <0>;
35
36 button@1 {
37 debounce_interval = <50>;
38 wakeup = <1>;
39 label = "DSW2-1";
40 linux,code = <KEY_1>;
41 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
42 };
43 button@2 {
44 debounce_interval = <50>;
45 wakeup = <1>;
46 label = "DSW2-2";
47 linux,code = <KEY_2>;
48 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
49 };
50 button@3 {
51 debounce_interval = <50>;
52 wakeup = <1>;
53 label = "DSW2-3";
54 linux,code = <KEY_3>;
55 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
56 };
57 button@4 {
58 debounce_interval = <50>;
59 wakeup = <1>;
60 label = "DSW2-4";
61 linux,code = <KEY_4>;
62 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
63 };
64 };
65
66 reg_1p8v: regulator@0 {
67 compatible = "regulator-fixed";
--- 8 unchanged lines hidden (view full) ---
76 compatible = "regulator-fixed";
77 regulator-name = "fixed-3.3V";
78 regulator-min-microvolt = <3300000>;
79 regulator-max-microvolt = <3300000>;
80 regulator-always-on;
81 regulator-boot-on;
82 };
83
84 lan9220@20000000 {
85 compatible = "smsc,lan9220", "smsc,lan9115";
86 reg = <0x20000000 0x10000>;
87 phy-mode = "mii";
88 interrupt-parent = <&gpio0>;
89 interrupts = <1 IRQ_TYPE_EDGE_RISING>;
90 reg-io-width = <4>;
91 smsc,irq-active-high;
92 smsc,irq-push-pull;
93 vddvario-supply = <®_1p8v>;
94 vdd33a-supply = <®_3p3v>;
95 };
96};
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.
--- 21 unchanged lines hidden (view full) ---
30
31 gpio_keys {
32 compatible = "gpio-keys";
33 #address-cells = <1>;
34 #size-cells = <0>;
35
36 button@1 {
37 debounce_interval = <50>;
38 wakeup = <1>;
39 label = "DSW2-1";
40 linux,code = <KEY_1>;
41 gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
42 };
43 button@2 {
44 debounce_interval = <50>;
45 wakeup = <1>;
46 label = "DSW2-2";
47 linux,code = <KEY_2>;
48 gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
49 };
50 button@3 {
51 debounce_interval = <50>;
52 wakeup = <1>;
53 label = "DSW2-3";
54 linux,code = <KEY_3>;
55 gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
56 };
57 button@4 {
58 debounce_interval = <50>;
59 wakeup = <1>;
60 label = "DSW2-4";
61 linux,code = <KEY_4>;
62 gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
63 };
64 };
65
66 reg_1p8v: regulator@0 {
67 compatible = "regulator-fixed";
--- 8 unchanged lines hidden (view full) ---
76 compatible = "regulator-fixed";
77 regulator-name = "fixed-3.3V";
78 regulator-min-microvolt = <3300000>;
79 regulator-max-microvolt = <3300000>;
80 regulator-always-on;
81 regulator-boot-on;
82 };
83
84 lan9220@20000000 {
85 compatible = "smsc,lan9220", "smsc,lan9115";
86 reg = <0x20000000 0x10000>;
87 phy-mode = "mii";
88 interrupt-parent = <&gpio0>;
89 interrupts = <1 IRQ_TYPE_EDGE_RISING>;
90 reg-io-width = <4>;
91 smsc,irq-active-high;
92 smsc,irq-push-pull;
93 vddvario-supply = <®_1p8v>;
94 vdd33a-supply = <®_3p3v>;
95 };
96};