2 * Copyright (C) 2013 STMicroelectronics (R&D) Limited.
3 * Author: Srinivas Kandagatla <srinivas.kandagatla@st.com>
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 2 as
7 * publishhed by the Free Software Foundation.
9 #include <dt-bindings/input/input.h>
10 #include <dt-bindings/gpio/gpio.h>
15 device_type = "memory";
16 reg = <0x60000000 0x40000000>;
20 bootargs = "console=ttyAS0,115200 clk_ignore_unused";
21 linux,stdout-path = &serial2;
26 ethernet0 = ðernet0;
27 ethernet1 = ðernet1;
31 serial2: serial@fed32000 {
36 compatible = "gpio-leds";
38 label = "Front Panel LED";
39 gpios = <&pio105 7 GPIO_ACTIVE_HIGH>;
40 linux,default-trigger = "heartbeat";
46 /* HDMI V1.3a supports Standard mode only */
47 clock-frequency = <100000>;
48 i2c-min-scl-pulse-width-us = <0>;
49 i2c-min-sda-pulse-width-us = <5>;
54 ethernet0: dwmac@fe810000 {
57 pinctrl-0 = <&pinctrl_mii0>;
59 snps,reset-gpio = <&pio106 2>;
60 snps,reset-active-low;
61 snps,reset-delays-us = <0 10000 10000>;
64 ethernet1: dwmac@fef08000 {
67 st,tx-retime-src = "txclk";
69 snps,reset-gpio = <&pio4 7>;
70 snps,reset-active-low;
71 snps,reset-delays-us = <0 10000 10000>;
74 keyscan: keyscan@fe4b0000 {
75 keypad,num-rows = <4>;
76 keypad,num-columns = <4>;
77 st,debounce-us = <5000>;
78 linux,keymap = < MATRIX_KEY(0x00, 0x00, KEY_F13)
79 MATRIX_KEY(0x00, 0x01, KEY_F9)
80 MATRIX_KEY(0x00, 0x02, KEY_F5)
81 MATRIX_KEY(0x00, 0x03, KEY_F1)
82 MATRIX_KEY(0x01, 0x00, KEY_F14)
83 MATRIX_KEY(0x01, 0x01, KEY_F10)
84 MATRIX_KEY(0x01, 0x02, KEY_F6)
85 MATRIX_KEY(0x01, 0x03, KEY_F2)
86 MATRIX_KEY(0x02, 0x00, KEY_F15)
87 MATRIX_KEY(0x02, 0x01, KEY_F11)
88 MATRIX_KEY(0x02, 0x02, KEY_F7)
89 MATRIX_KEY(0x02, 0x03, KEY_F3)
90 MATRIX_KEY(0x03, 0x00, KEY_F16)
91 MATRIX_KEY(0x03, 0x01, KEY_F12)
92 MATRIX_KEY(0x03, 0x02, KEY_F8)
93 MATRIX_KEY(0x03, 0x03, KEY_F4) >;