2012-05-16 14:46:03 +08:00
|
|
|
/*
|
|
|
|
* Device Tree Source for the KZM9D board
|
|
|
|
*
|
2013-10-01 18:33:05 +08:00
|
|
|
* Copyright (C) 2013 Renesas Solutions Corp.
|
2012-05-16 14:46:03 +08:00
|
|
|
*
|
|
|
|
* This file is licensed under the terms of the GNU General Public License
|
|
|
|
* version 2. This program is licensed "as is" without any warranty of any
|
|
|
|
* kind, whether express or implied.
|
|
|
|
*/
|
|
|
|
/dts-v1/;
|
|
|
|
|
2013-11-14 07:03:45 +08:00
|
|
|
#include "emev2.dtsi"
|
|
|
|
#include <dt-bindings/gpio/gpio.h>
|
|
|
|
#include <dt-bindings/input/input.h>
|
2013-11-29 00:37:50 +08:00
|
|
|
#include <dt-bindings/interrupt-controller/irq.h>
|
2012-05-16 14:46:03 +08:00
|
|
|
|
|
|
|
/ {
|
|
|
|
model = "EMEV2 KZM9D Board";
|
|
|
|
compatible = "renesas,kzm9d", "renesas,emev2";
|
|
|
|
|
|
|
|
memory {
|
|
|
|
device_type = "memory";
|
|
|
|
reg = <0x40000000 0x8000000>;
|
|
|
|
};
|
|
|
|
|
|
|
|
chosen {
|
2013-08-06 11:17:33 +08:00
|
|
|
bootargs = "console=ttyS1,115200n81 ignore_loglevel root=/dev/nfs ip=dhcp";
|
2012-05-16 14:46:03 +08:00
|
|
|
};
|
2013-10-01 18:33:05 +08:00
|
|
|
|
|
|
|
reg_1p8v: regulator@0 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "fixed-1.8V";
|
|
|
|
regulator-min-microvolt = <1800000>;
|
|
|
|
regulator-max-microvolt = <1800000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
reg_3p3v: regulator@1 {
|
|
|
|
compatible = "regulator-fixed";
|
|
|
|
regulator-name = "fixed-3.3V";
|
|
|
|
regulator-min-microvolt = <3300000>;
|
|
|
|
regulator-max-microvolt = <3300000>;
|
|
|
|
regulator-always-on;
|
|
|
|
regulator-boot-on;
|
|
|
|
};
|
|
|
|
|
|
|
|
lan9220@20000000 {
|
|
|
|
compatible = "smsc,lan9220", "smsc,lan9115";
|
|
|
|
reg = <0x20000000 0x10000>;
|
|
|
|
phy-mode = "mii";
|
|
|
|
interrupt-parent = <&gpio0>;
|
2013-11-29 00:37:50 +08:00
|
|
|
interrupts = <1 IRQ_TYPE_EDGE_RISING>;
|
2013-10-01 18:33:05 +08:00
|
|
|
reg-io-width = <4>;
|
|
|
|
smsc,irq-active-high;
|
|
|
|
smsc,irq-push-pull;
|
|
|
|
vddvario-supply = <®_1p8v>;
|
|
|
|
vdd33a-supply = <®_3p3v>;
|
|
|
|
};
|
2013-11-14 07:03:45 +08:00
|
|
|
|
|
|
|
gpio_keys {
|
|
|
|
compatible = "gpio-keys";
|
|
|
|
#address-cells = <1>;
|
|
|
|
#size-cells = <0>;
|
|
|
|
|
|
|
|
button@1 {
|
|
|
|
debounce_interval = <50>;
|
|
|
|
wakeup = <1>;
|
|
|
|
label = "DSW2-1";
|
|
|
|
linux,code = <KEY_1>;
|
|
|
|
gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
button@2 {
|
|
|
|
debounce_interval = <50>;
|
|
|
|
wakeup = <1>;
|
|
|
|
label = "DSW2-2";
|
|
|
|
linux,code = <KEY_2>;
|
|
|
|
gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
button@3 {
|
|
|
|
debounce_interval = <50>;
|
|
|
|
wakeup = <1>;
|
|
|
|
label = "DSW2-3";
|
|
|
|
linux,code = <KEY_3>;
|
|
|
|
gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
button@4 {
|
|
|
|
debounce_interval = <50>;
|
|
|
|
wakeup = <1>;
|
|
|
|
label = "DSW2-4";
|
|
|
|
linux,code = <KEY_4>;
|
|
|
|
gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>;
|
|
|
|
};
|
|
|
|
};
|
2012-05-16 14:46:03 +08:00
|
|
|
};
|