blob: b3dd6ca5c2ae0bff23f33fd3fbc0e3d8c11c6c28 [file] [log] [blame]
Srinivas Kandagatlaf1148db2013-06-25 12:16:04 +01001/*
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 */
Gabriel FERNANDEZe92cc882014-04-11 17:07:00 +02009#include <dt-bindings/input/input.h>
Srinivas Kandagatlaf1148db2013-06-25 12:16:04 +010010/ {
11
12 memory{
13 device_type = "memory";
14 reg = <0x60000000 0x40000000>;
15 };
16
17 chosen {
Gabriel FERNANDEZ63a557a2014-05-20 15:22:00 +020018 bootargs = "console=ttyAS0,115200 clk_ignore_unused";
Srinivas Kandagatlaf1148db2013-06-25 12:16:04 +010019 linux,stdout-path = &serial2;
20 };
21
22 aliases {
23 ttyAS0 = &serial2;
Srinivas Kandagatlac80fe3352014-01-29 16:19:44 +000024 ethernet0 = &ethernet0;
25 ethernet1 = &ethernet1;
Srinivas Kandagatlaf1148db2013-06-25 12:16:04 +010026 };
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
Maxime COQUELINc6fddbd2013-11-06 09:25:15 +010043 /* 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 };
Srinivas Kandagatlac80fe3352014-01-29 16:19:44 +000052
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 };
Gabriel FERNANDEZe92cc882014-04-11 17:07:00 +020072
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 };
Srinivas Kandagatlaf1148db2013-06-25 12:16:04 +010094 };
95};