2 * Copyright (C) 2015 CompuLab, Ltd. - http://www.compulab.co.il/
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.
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"
17 model = "CompuLab CM-T43";
18 compatible = "compulab,am437x-cm-t43", "ti,am4372", "ti,am43";
21 compatible = "gpio-leds";
24 label = "cm-t43:green";
25 gpios = <&gpio0 24 GPIO_ACTIVE_HIGH>;
26 linux,default-trigger = "heartbeat";
32 pinctrl-names = "default";
33 pinctrl-0 = <&cm_t43_led_pins>;
35 cm_t43_led_pins: cm_t43_led_pins {
36 pinctrl-single,pins = <
37 AM4372_IOPAD(0xa78, MUX_MODE7)
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 */
51 pinctrl-names = "default";
52 pinctrl-0 = <&i2c0_pins>;
53 clock-frequency = <100000>;
55 eeprom_module: at24@50 {
56 compatible = "atmel,24c02";
91 operating-points = <1000000 1330000>,