1 // SPDX-License-Identifier: GPL-2.0-or-later 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* 2 /* 3 * Copyright 2012 ST-Ericsson AB 3 * Copyright 2012 ST-Ericsson AB 4 * 4 * 5 * Device Tree for the HREF+ prior to the v60 5 * Device Tree for the HREF+ prior to the v60 variant. 6 */ 6 */ 7 7 8 #include "ste-href-ab8500.dtsi" 8 #include "ste-href-ab8500.dtsi" 9 #include "ste-href.dtsi" 9 #include "ste-href.dtsi" 10 10 11 / { 11 / { 12 gpio_keys { 12 gpio_keys { 13 button@1 { 13 button@1 { 14 gpios = <&tc3589x_gpio 14 gpios = <&tc3589x_gpio 7 GPIO_ACTIVE_HIGH>; 15 }; 15 }; 16 }; 16 }; 17 17 18 soc { 18 soc { 19 /* Enable UART1 on this board 19 /* Enable UART1 on this board */ 20 serial@80121000 { 20 serial@80121000 { 21 status = "okay"; 21 status = "okay"; 22 }; 22 }; 23 23 24 i2c@80004000 { 24 i2c@80004000 { 25 tps61052@33 { 25 tps61052@33 { 26 compatible = " 26 compatible = "ti,tps61052"; 27 reg = <0x33>; 27 reg = <0x33>; 28 }; 28 }; 29 29 30 tc35892@42 { 30 tc35892@42 { 31 compatible = " 31 compatible = "toshiba,tc35892"; 32 reg = <0x42>; 32 reg = <0x42>; 33 interrupt-pare 33 interrupt-parent = <&gpio6>; 34 interrupts = < 34 interrupts = <25 IRQ_TYPE_EDGE_RISING>; 35 pinctrl-names 35 pinctrl-names = "default"; 36 pinctrl-0 = <& 36 pinctrl-0 = <&tc35892_hrefprev60_mode>; 37 37 38 interrupt-cont 38 interrupt-controller; 39 #interrupt-cel 39 #interrupt-cells = <1>; 40 40 41 tc3589x_gpio: 41 tc3589x_gpio: tc3589x_gpio { 42 compat 42 compatible = "tc3589x-gpio"; 43 interr 43 interrupts = <0>; 44 44 45 interr 45 interrupt-controller; 46 #inter 46 #interrupt-cells = <2>; 47 gpio-c 47 gpio-controller; 48 #gpio- 48 #gpio-cells = <2>; 49 }; 49 }; 50 }; 50 }; 51 }; 51 }; 52 52 53 spi@80002000 { 53 spi@80002000 { 54 /* 54 /* 55 * On the first genera 55 * On the first generation boards, this SSP/SPI port was connected 56 * to the AB8500. 56 * to the AB8500. 57 */ 57 */ 58 pinctrl-names = "defau 58 pinctrl-names = "default"; 59 pinctrl-0 = <&ssp0_hre 59 pinctrl-0 = <&ssp0_hrefprev60_mode>; 60 status = "okay"; 60 status = "okay"; 61 }; 61 }; 62 62 63 // External Micro SD slot 63 // External Micro SD slot 64 mmc@80126000 { 64 mmc@80126000 { 65 cd-gpios = <&tc3589x_g !! 65 cd-gpios = <&tc3589x_gpio 3 GPIO_ACTIVE_HIGH>; 66 }; 66 }; 67 67 68 pinctrl { 68 pinctrl { 69 /* Set this up using h 69 /* Set this up using hogs */ 70 pinctrl-names = "defau 70 pinctrl-names = "default"; 71 pinctrl-0 = <&ipgpio_h 71 pinctrl-0 = <&ipgpio_hrefprev60_mode>; 72 72 73 ssp0 { 73 ssp0 { 74 ssp0_hrefprev6 74 ssp0_hrefprev60_mode: ssp0_hrefprev60_default { 75 hrefpr 75 hrefprev60_mux { 76 76 function = "ssp0"; 77 77 groups = "ssp0_a_1"; 78 }; 78 }; 79 hrefpr 79 hrefprev60_cfg1 { 80 80 pins = "GPIO145_C13"; /* RXD */ 81 81 ste,config = <&in_pd>; 82 }; 82 }; 83 83 84 }; 84 }; 85 }; 85 }; 86 sdi0 { 86 sdi0 { 87 /* This additi 87 /* This additional pin needed on early MOP500 and HREFs previous to v60 */ 88 sdi0_default_m 88 sdi0_default_mode: sdi0_default { 89 hrefpr 89 hrefprev60_mux { 90 90 function = "mc0"; 91 91 groups = "mc0dat31dir_a_1"; 92 }; 92 }; 93 hrefpr 93 hrefprev60_cfg1 { 94 94 pins = "GPIO21_AB3"; /* DAT31DIR */ 95 95 ste,config = <&out_hi>; 96 }; 96 }; 97 97 98 }; 98 }; 99 }; 99 }; 100 tc35892 { 100 tc35892 { 101 tc35892_hrefpr 101 tc35892_hrefprev60_mode: tc35892_hrefprev60 { 102 hrefpr 102 hrefprev60_cfg { 103 103 pins = "GPIO217_AH12"; 104 104 ste,config = <&gpio_in_pu>; 105 }; 105 }; 106 }; 106 }; 107 }; 107 }; 108 ipgpio { 108 ipgpio { 109 ipgpio_hrefpr 109 ipgpio_hrefprev60_mode: ipgpio_hrefprev60 { 110 hrefpr 110 hrefprev60_mux { 111 111 function = "ipgpio"; 112 112 groups = "ipgpio0_c_1", "ipgpio1_c_1"; 113 }; 113 }; 114 hrefpr 114 hrefprev60_cfg1 { 115 115 pins = "GPIO6_AF6", "GPIO7_AG5"; 116 116 ste,config = <&in_pu>; 117 }; 117 }; 118 }; 118 }; 119 }; 119 }; 120 }; 120 }; 121 }; 121 }; 122 }; 122 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.