ARM: dts: am437x: cm-t43: add support for module eeprom
[deliverable/linux.git] / arch / arm / boot / dts / am437x-cm-t43.dts
1 /*
2 * Copyright (C) 2015 CompuLab, Ltd. - http://www.compulab.co.il/
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7 */
8
9 /dts-v1/;
10
11 #include <dt-bindings/pinctrl/am43xx.h>
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include "am4372.dtsi"
15
16 / {
17 model = "CompuLab CM-T43";
18 compatible = "compulab,am437x-cm-t43", "ti,am4372", "ti,am43";
19
20 leds {
21 compatible = "gpio-leds";
22
23 ledb {
24 label = "cm-t43:green";
25 gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
26 linux,default-trigger = "heartbeat";
27 };
28 };
29 };
30
31 &am43xx_pinmux {
32 pinctrl-names = "default";
33 pinctrl-0 = <&cm_t43_led_pins>;
34
35 cm_t43_led_pins: cm_t43_led_pins {
36 pinctrl-single,pins = <
37 AM4372_IOPAD(0xa78, MUX_MODE7)
38 >;
39 };
40
41 i2c0_pins: i2c0_pins {
42 pinctrl-single,pins = <
43 AM4372_IOPAD(0x988, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_sda.i2c0_sda */
44 AM4372_IOPAD(0x98c, PIN_INPUT_PULLUP | SLEWCTRL_FAST | MUX_MODE0) /* i2c0_scl.i2c0_scl */
45 >;
46 };
47 };
48
49 &i2c0 {
50 status = "okay";
51 pinctrl-names = "default";
52 pinctrl-0 = <&i2c0_pins>;
53 clock-frequency = <100000>;
54
55 eeprom_module: at24@50 {
56 compatible = "atmel,24c02";
57 reg = <0x50>;
58 pagesize = <16>;
59 };
60 };
61
62 &gpio0 {
63 status = "okay";
64 };
65
66 &gpio1 {
67 status = "okay";
68 };
69
70 &gpio2 {
71 status = "okay";
72 };
73
74 &gpio3 {
75 status = "okay";
76 };
77
78 &gpio4 {
79 status = "okay";
80 };
81
82 &gpio5 {
83 status = "okay";
84 };
85
86 &uart0 {
87 status = "okay";
88 };
89
90 &cpu {
91 operating-points = <1000000 1330000>,
92 <800000 1260000>,
93 <720000 1200000>,
94 <600000 1100000>,
95 <300000 950000>;
96 };
This page took 0.050747 seconds and 5 git commands to generate.