Jan Kundrát | 17ba77d | 2019-08-07 15:19:48 +0200 | [diff] [blame] | 1 | #include "czechlight-bbb.dts" |
| 2 | |
| 3 | &i2c1 { |
| 4 | gpio_exp_u3: gpio@0x26 { |
| 5 | compatible = "microchip,mcp23017"; |
| 6 | reg = <0x26>; |
| 7 | |
| 8 | gpio-controller; |
| 9 | #gpio-cells = <2>; |
| 10 | |
| 11 | gpio-line-names = |
| 12 | "S0_LW3", |
| 13 | "M2_LW3", |
| 14 | "M0_LW3", |
| 15 | "M1_LW3", |
| 16 | "M3_LW3", |
| 17 | "S1_LW3", |
| 18 | "", |
| 19 | "", |
| 20 | "MEMS2_RST", |
| 21 | "", |
| 22 | "M1_LW2", |
| 23 | "M3_LW2", |
| 24 | "S1_LW2", |
| 25 | "S0_LW2", |
| 26 | "M2_LW2", |
| 27 | "M0_LW2"; |
| 28 | }; |
| 29 | |
| 30 | gpio_exp_u4: gpio@0x27 { |
| 31 | compatible = "microchip,mcp23017"; |
| 32 | reg = <0x27>; |
| 33 | |
| 34 | gpio-controller; |
| 35 | #gpio-cells = <2>; |
| 36 | |
| 37 | gpio-line-names = |
| 38 | "S0_LW1", |
| 39 | "M2_LW1", |
| 40 | "M0_LW1", |
| 41 | "M1_LW1", |
| 42 | "M3_LW1", |
| 43 | "S1_LW1", |
| 44 | "", |
| 45 | "", |
| 46 | "MEMS1_RST", |
| 47 | "", |
| 48 | "M1_LW4", |
| 49 | "M3_LW4", |
| 50 | "S1_LW4", |
| 51 | "S0_LW4", |
| 52 | "M2_LW4", |
| 53 | "M0_LW4"; |
| 54 | }; |
| 55 | }; |
Jan Kundrát | 0a905c6 | 2019-08-08 18:01:46 +0200 | [diff] [blame] | 56 | |
| 57 | &gpio1 { |
| 58 | gpio-line-names = |
| 59 | "", |
| 60 | "", |
| 61 | "", |
| 62 | "", |
| 63 | "", |
| 64 | "", |
| 65 | "", |
| 66 | "", |
| 67 | "", |
| 68 | "", |
| 69 | "", |
| 70 | "", |
| 71 | "", |
| 72 | "", |
| 73 | "", |
| 74 | "", |
| 75 | "ITLA_MS", |
| 76 | "OCM_RST", |
| 77 | "", |
| 78 | "", |
| 79 | "", |
| 80 | "", |
| 81 | "", |
| 82 | "", |
| 83 | "", |
| 84 | "", |
| 85 | "", |
| 86 | "", |
| 87 | "ITLA_SRQ", |
| 88 | "", |
| 89 | "", |
| 90 | ""; |
| 91 | }; |
| 92 | |
| 93 | &gpio3 { |
| 94 | gpio-line-names = |
| 95 | "", |
| 96 | "", |
| 97 | "", |
| 98 | "", |
| 99 | "", |
| 100 | "", |
| 101 | "", |
| 102 | "", |
| 103 | "", |
| 104 | "", |
| 105 | "", |
| 106 | "", |
| 107 | "", |
| 108 | "", |
| 109 | "", |
| 110 | "", |
| 111 | "", |
| 112 | "", |
| 113 | "", |
| 114 | "ITLA_DIS", |
| 115 | "", |
Ivona Obonova | ec8bc4c | 2019-10-24 12:20:40 +0200 | [diff] [blame] | 116 | "ITLA_RST", |
Jan Kundrát | 0a905c6 | 2019-08-08 18:01:46 +0200 | [diff] [blame] | 117 | "", |
| 118 | "", |
| 119 | "", |
| 120 | "", |
| 121 | "", |
| 122 | "", |
| 123 | "ITLA_SRQ", |
| 124 | "", |
| 125 | "", |
| 126 | ""; |
| 127 | }; |