1 // SPDX-License-Identifier: GPL-2.0 1 // SPDX-License-Identifier: GPL-2.0 2 /* 2 /* 3 * Suppport for CompuLab CM-T54 on SB-T54 base 3 * Suppport for CompuLab CM-T54 on SB-T54 baseboard 4 */ 4 */ 5 5 6 #include "omap5-cm-t54.dts" 6 #include "omap5-cm-t54.dts" 7 7 8 / { 8 / { 9 model = "CompuLab CM-T54 on SB-T54"; 9 model = "CompuLab CM-T54 on SB-T54"; 10 compatible = "compulab,omap5-sbc-t54", 10 compatible = "compulab,omap5-sbc-t54", "compulab,omap5-cm-t54", "ti,omap5"; 11 }; 11 }; 12 12 13 &omap5_pmx_core { 13 &omap5_pmx_core { 14 i2c4_pins: i2c4-pins { 14 i2c4_pins: i2c4-pins { 15 pinctrl-single,pins = < 15 pinctrl-single,pins = < 16 OMAP5_IOPAD(0x00f8, PI 16 OMAP5_IOPAD(0x00f8, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_scl */ 17 OMAP5_IOPAD(0x00fa, PI 17 OMAP5_IOPAD(0x00fa, PIN_INPUT_PULLUP | MUX_MODE0) /* i2c4_sda */ 18 >; 18 >; 19 }; 19 }; 20 20 21 mmc1_aux_pins: mmc1-aux-pins { 21 mmc1_aux_pins: mmc1-aux-pins { 22 pinctrl-single,pins = < 22 pinctrl-single,pins = < 23 OMAP5_IOPAD(0x0174, PI 23 OMAP5_IOPAD(0x0174, PIN_INPUT_PULLUP | MUX_MODE6) /* timer5_pwm_evt.gpio8_228 */ 24 OMAP5_IOPAD(0x0176, PI 24 OMAP5_IOPAD(0x0176, PIN_INPUT_PULLUP | MUX_MODE6) /* timer6_pwm_evt.gpio8_229 */ 25 >; 25 >; 26 }; 26 }; 27 }; 27 }; 28 28 29 &mmc1 { 29 &mmc1 { 30 pinctrl-names = "default"; 30 pinctrl-names = "default"; 31 pinctrl-0 = < 31 pinctrl-0 = < 32 &mmc1_pins 32 &mmc1_pins 33 &mmc1_aux_pins 33 &mmc1_aux_pins 34 >; 34 >; 35 cd-inverted; 35 cd-inverted; 36 wp-inverted; 36 wp-inverted; 37 cd-gpios = <&gpio8 4 GPIO_ACTIVE_LOW>; 37 cd-gpios = <&gpio8 4 GPIO_ACTIVE_LOW>; /* gpio8_228 */ 38 wp-gpios = <&gpio8 5 GPIO_ACTIVE_LOW>; 38 wp-gpios = <&gpio8 5 GPIO_ACTIVE_LOW>; /* gpio8_229 */ 39 }; 39 }; 40 40 41 &i2c4 { 41 &i2c4 { 42 pinctrl-names = "default"; 42 pinctrl-names = "default"; 43 pinctrl-0 = <&i2c4_pins>; 43 pinctrl-0 = <&i2c4_pins>; 44 44 45 clock-frequency = <400000>; 45 clock-frequency = <400000>; 46 46 47 at24@50 { 47 at24@50 { 48 compatible = "atmel,24c02"; 48 compatible = "atmel,24c02"; 49 pagesize = <16>; 49 pagesize = <16>; 50 reg = <0x50>; 50 reg = <0x50>; 51 }; 51 }; 52 }; 52 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.