1/* 2 * Copyright (C) 2013 STMicroelectronics (R&D) Limited. 3 * Author: Srinivas Kandagatla <srinivas.kandagatla@st.com> 4 * 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. 8 */ 9#include <dt-bindings/input/input.h> 10/ { 11 12 memory{ 13 device_type = "memory"; 14 reg = <0x60000000 0x40000000>; 15 }; 16 17 chosen { 18 bootargs = "console=ttyAS0,115200 clk_ignore_unused"; 19 linux,stdout-path = &serial2; 20 }; 21 22 aliases { 23 ttyAS0 = &serial2; 24 ethernet0 = ðernet0; 25 ethernet1 = ðernet1; 26 }; 27 28 soc { 29 serial2: serial@fed32000 { 30 status = "okay"; 31 }; 32 33 leds { 34 compatible = "gpio-leds"; 35 fp_led { 36 #gpio-cells = <1>; 37 label = "Front Panel LED"; 38 gpios = <&pio105 7>; 39 linux,default-trigger = "heartbeat"; 40 }; 41 }; 42 43 /* HDMI Tx I2C */ 44 i2c@fed41000 { 45 /* HDMI V1.3a supports Standard mode only */ 46 clock-frequency = <100000>; 47 i2c-min-scl-pulse-width-us = <0>; 48 i2c-min-sda-pulse-width-us = <5>; 49 50 status = "okay"; 51 }; 52 53 ethernet0: dwmac@fe810000 { 54 status = "okay"; 55 phy-mode = "mii"; 56 pinctrl-0 = <&pinctrl_mii0>; 57 58 snps,reset-gpio = <&pio106 2>; 59 snps,reset-active-low; 60 snps,reset-delays-us = <0 10000 10000>; 61 }; 62 63 ethernet1: dwmac@fef08000 { 64 status = "disabled"; 65 phy-mode = "mii"; 66 st,tx-retime-src = "txclk"; 67 68 snps,reset-gpio = <&pio4 7>; 69 snps,reset-active-low; 70 snps,reset-delays-us = <0 10000 10000>; 71 }; 72 73 keyscan: keyscan@fe4b0000 { 74 keypad,num-rows = <4>; 75 keypad,num-columns = <4>; 76 st,debounce-us = <5000>; 77 linux,keymap = < MATRIX_KEY(0x00, 0x00, KEY_F13) 78 MATRIX_KEY(0x00, 0x01, KEY_F9) 79 MATRIX_KEY(0x00, 0x02, KEY_F5) 80 MATRIX_KEY(0x00, 0x03, KEY_F1) 81 MATRIX_KEY(0x01, 0x00, KEY_F14) 82 MATRIX_KEY(0x01, 0x01, KEY_F10) 83 MATRIX_KEY(0x01, 0x02, KEY_F6) 84 MATRIX_KEY(0x01, 0x03, KEY_F2) 85 MATRIX_KEY(0x02, 0x00, KEY_F15) 86 MATRIX_KEY(0x02, 0x01, KEY_F11) 87 MATRIX_KEY(0x02, 0x02, KEY_F7) 88 MATRIX_KEY(0x02, 0x03, KEY_F3) 89 MATRIX_KEY(0x03, 0x00, KEY_F16) 90 MATRIX_KEY(0x03, 0x01, KEY_F12) 91 MATRIX_KEY(0x03, 0x02, KEY_F8) 92 MATRIX_KEY(0x03, 0x03, KEY_F4) >; 93 }; 94 }; 95}; 96