Srinivas Kandagatla | f1148db | 2013-06-25 12:16:04 +0100 | [diff] [blame] | 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 | */ |
Gabriel FERNANDEZ | e92cc88 | 2014-04-11 17:07:00 +0200 | [diff] [blame] | 9 | #include <dt-bindings/input/input.h> |
Srinivas Kandagatla | f1148db | 2013-06-25 12:16:04 +0100 | [diff] [blame] | 10 | / { |
| 11 | |
| 12 | memory{ |
| 13 | device_type = "memory"; |
| 14 | reg = <0x60000000 0x40000000>; |
| 15 | }; |
| 16 | |
| 17 | chosen { |
Gabriel FERNANDEZ | 63a557a | 2014-05-20 15:22:00 +0200 | [diff] [blame] | 18 | bootargs = "console=ttyAS0,115200 clk_ignore_unused"; |
Srinivas Kandagatla | f1148db | 2013-06-25 12:16:04 +0100 | [diff] [blame] | 19 | linux,stdout-path = &serial2; |
| 20 | }; |
| 21 | |
| 22 | aliases { |
| 23 | ttyAS0 = &serial2; |
Srinivas Kandagatla | c80fe335 | 2014-01-29 16:19:44 +0000 | [diff] [blame] | 24 | ethernet0 = ðernet0; |
| 25 | ethernet1 = ðernet1; |
Srinivas Kandagatla | f1148db | 2013-06-25 12:16:04 +0100 | [diff] [blame] | 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"; |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 38 | gpios = <&pio105 7>; |
Srinivas Kandagatla | f1148db | 2013-06-25 12:16:04 +0100 | [diff] [blame] | 39 | linux,default-trigger = "heartbeat"; |
| 40 | }; |
| 41 | }; |
| 42 | |
Maxime COQUELIN | c6fddbd | 2013-11-06 09:25:15 +0100 | [diff] [blame] | 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 | }; |
Srinivas Kandagatla | c80fe335 | 2014-01-29 16:19:44 +0000 | [diff] [blame] | 52 | |
| 53 | ethernet0: dwmac@fe810000 { |
| 54 | status = "okay"; |
| 55 | phy-mode = "mii"; |
| 56 | pinctrl-0 = <&pinctrl_mii0>; |
| 57 | |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 58 | snps,reset-gpio = <&pio106 2>; |
Srinivas Kandagatla | c80fe335 | 2014-01-29 16:19:44 +0000 | [diff] [blame] | 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 | |
Lee Jones | dc62bfd | 2014-05-27 14:53:00 +0200 | [diff] [blame] | 68 | snps,reset-gpio = <&pio4 7>; |
Srinivas Kandagatla | c80fe335 | 2014-01-29 16:19:44 +0000 | [diff] [blame] | 69 | snps,reset-active-low; |
| 70 | snps,reset-delays-us = <0 10000 10000>; |
| 71 | }; |
Gabriel FERNANDEZ | e92cc88 | 2014-04-11 17:07:00 +0200 | [diff] [blame] | 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 | }; |
Srinivas Kandagatla | f1148db | 2013-06-25 12:16:04 +0100 | [diff] [blame] | 94 | }; |
| 95 | }; |