emev2-kzm9d.dts revision 279377
1279377Simp/* 2279377Simp * Device Tree Source for the KZM9D board 3279377Simp * 4279377Simp * Copyright (C) 2013 Renesas Solutions Corp. 5279377Simp * 6279377Simp * This file is licensed under the terms of the GNU General Public License 7279377Simp * version 2. This program is licensed "as is" without any warranty of any 8279377Simp * kind, whether express or implied. 9279377Simp */ 10279377Simp/dts-v1/; 11279377Simp 12279377Simp#include "emev2.dtsi" 13279377Simp#include <dt-bindings/gpio/gpio.h> 14279377Simp#include <dt-bindings/input/input.h> 15279377Simp#include <dt-bindings/interrupt-controller/irq.h> 16279377Simp 17279377Simp/ { 18279377Simp model = "EMEV2 KZM9D Board"; 19279377Simp compatible = "renesas,kzm9d", "renesas,emev2"; 20279377Simp 21279377Simp memory { 22279377Simp device_type = "memory"; 23279377Simp reg = <0x40000000 0x8000000>; 24279377Simp }; 25279377Simp 26279377Simp chosen { 27279377Simp bootargs = "console=ttyS1,115200n81 ignore_loglevel root=/dev/nfs ip=dhcp"; 28279377Simp stdout-path = &uart1; 29279377Simp }; 30279377Simp 31279377Simp gpio_keys { 32279377Simp compatible = "gpio-keys"; 33279377Simp #address-cells = <1>; 34279377Simp #size-cells = <0>; 35279377Simp 36279377Simp button@1 { 37279377Simp debounce_interval = <50>; 38279377Simp wakeup = <1>; 39279377Simp label = "DSW2-1"; 40279377Simp linux,code = <KEY_1>; 41279377Simp gpios = <&gpio0 14 GPIO_ACTIVE_HIGH>; 42279377Simp }; 43279377Simp button@2 { 44279377Simp debounce_interval = <50>; 45279377Simp wakeup = <1>; 46279377Simp label = "DSW2-2"; 47279377Simp linux,code = <KEY_2>; 48279377Simp gpios = <&gpio0 15 GPIO_ACTIVE_HIGH>; 49279377Simp }; 50279377Simp button@3 { 51279377Simp debounce_interval = <50>; 52279377Simp wakeup = <1>; 53279377Simp label = "DSW2-3"; 54279377Simp linux,code = <KEY_3>; 55279377Simp gpios = <&gpio0 16 GPIO_ACTIVE_HIGH>; 56279377Simp }; 57279377Simp button@4 { 58279377Simp debounce_interval = <50>; 59279377Simp wakeup = <1>; 60279377Simp label = "DSW2-4"; 61279377Simp linux,code = <KEY_4>; 62279377Simp gpios = <&gpio0 17 GPIO_ACTIVE_HIGH>; 63279377Simp }; 64279377Simp }; 65279377Simp 66279377Simp reg_1p8v: regulator@0 { 67279377Simp compatible = "regulator-fixed"; 68279377Simp regulator-name = "fixed-1.8V"; 69279377Simp regulator-min-microvolt = <1800000>; 70279377Simp regulator-max-microvolt = <1800000>; 71279377Simp regulator-always-on; 72279377Simp regulator-boot-on; 73279377Simp }; 74279377Simp 75279377Simp reg_3p3v: regulator@1 { 76279377Simp compatible = "regulator-fixed"; 77279377Simp regulator-name = "fixed-3.3V"; 78279377Simp regulator-min-microvolt = <3300000>; 79279377Simp regulator-max-microvolt = <3300000>; 80279377Simp regulator-always-on; 81279377Simp regulator-boot-on; 82279377Simp }; 83279377Simp 84279377Simp lan9220@20000000 { 85279377Simp compatible = "smsc,lan9220", "smsc,lan9115"; 86279377Simp reg = <0x20000000 0x10000>; 87279377Simp phy-mode = "mii"; 88279377Simp interrupt-parent = <&gpio0>; 89279377Simp interrupts = <1 IRQ_TYPE_EDGE_RISING>; 90279377Simp reg-io-width = <4>; 91279377Simp smsc,irq-active-high; 92279377Simp smsc,irq-push-pull; 93279377Simp vddvario-supply = <®_1p8v>; 94279377Simp vdd33a-supply = <®_3p3v>; 95279377Simp }; 96279377Simp}; 97