|
68 | 68 | };
|
69 | 69 | };
|
70 | 70 |
|
| 71 | +&blsp1_i2c2 { |
| 72 | + clock-frequency = <100000>; |
| 73 | + status = "okay"; |
| 74 | + |
| 75 | + magnetometer@c { |
| 76 | + compatible = "asahi-kasei,ak8963"; |
| 77 | + reg = <0xc>; |
| 78 | + interrupts-extended = <&tlmm 38 IRQ_TYPE_EDGE_FALLING>; |
| 79 | + reset-gpios = <&tlmm 62 GPIO_ACTIVE_LOW>; |
| 80 | + vdd-supply = <&pm8226_l19>; |
| 81 | + pinctrl-0 = <&mag_int_default &mag_reset_default>; |
| 82 | + pinctrl-names = "default"; |
| 83 | + }; |
| 84 | + |
| 85 | + accelerometer@18 { |
| 86 | + compatible = "st,lis3dh-accel"; |
| 87 | + reg = <0x18>; |
| 88 | + interrupts-extended = <&tlmm 1 IRQ_TYPE_EDGE_FALLING>; |
| 89 | + vdd-supply = <&pm8226_l19>; |
| 90 | + pinctrl-0 = <&accel_int_default>; |
| 91 | + pinctrl-names = "default"; |
| 92 | + st,drdy-int-pin = <1>; |
| 93 | + }; |
| 94 | +}; |
| 95 | + |
71 | 96 | &blsp1_i2c3 {
|
| 97 | + clock-frequency = <400000>; |
72 | 98 | status = "okay";
|
73 | 99 |
|
| 100 | + regulator@3e { |
| 101 | + compatible = "ti,tps65132"; |
| 102 | + reg = <0x3e>; |
| 103 | + pinctrl-0 = <®_lcd_default>; |
| 104 | + pinctrl-names = "default"; |
| 105 | + |
| 106 | + reg_lcd_pos: outp { |
| 107 | + regulator-name = "outp"; |
| 108 | + regulator-min-microvolt = <4000000>; |
| 109 | + regulator-max-microvolt = <6000000>; |
| 110 | + regulator-active-discharge = <1>; |
| 111 | + regulator-boot-on; |
| 112 | + enable-gpios = <&tlmm 31 GPIO_ACTIVE_HIGH>; |
| 113 | + }; |
| 114 | + |
| 115 | + reg_lcd_neg: outn { |
| 116 | + regulator-name = "outn"; |
| 117 | + regulator-min-microvolt = <4000000>; |
| 118 | + regulator-max-microvolt = <6000000>; |
| 119 | + regulator-active-discharge = <1>; |
| 120 | + regulator-boot-on; |
| 121 | + enable-gpios = <&tlmm 33 GPIO_ACTIVE_HIGH>; |
| 122 | + }; |
| 123 | + }; |
| 124 | + |
74 | 125 | sensor@48 {
|
75 | 126 | compatible = "ti,tmp108";
|
76 | 127 | reg = <0x48>;
|
|
278 | 329 | status = "okay";
|
279 | 330 | };
|
280 | 331 |
|
| 332 | +&tlmm { |
| 333 | + accel_int_default: accel-int-default-state { |
| 334 | + pins = "gpio1"; |
| 335 | + function = "gpio"; |
| 336 | + drive-strength = <2>; |
| 337 | + bias-disable; |
| 338 | + output-disable; |
| 339 | + }; |
| 340 | + |
| 341 | + mag_int_default: mag-int-default-state { |
| 342 | + pins = "gpio38"; |
| 343 | + function = "gpio"; |
| 344 | + drive-strength = <2>; |
| 345 | + bias-disable; |
| 346 | + output-disable; |
| 347 | + }; |
| 348 | + |
| 349 | + mag_reset_default: mag-reset-default-state { |
| 350 | + pins = "gpio62"; |
| 351 | + function = "gpio"; |
| 352 | + drive-strength = <2>; |
| 353 | + bias-disable; |
| 354 | + output-high; |
| 355 | + }; |
| 356 | + |
| 357 | + reg_lcd_default: reg-lcd-default-state { |
| 358 | + pins = "gpio31", "gpio33"; |
| 359 | + function = "gpio"; |
| 360 | + drive-strength = <2>; |
| 361 | + bias-disable; |
| 362 | + output-high; |
| 363 | + }; |
| 364 | +}; |
| 365 | + |
281 | 366 | &usb {
|
282 | 367 | extcon = <&smbb>;
|
283 | 368 | dr_mode = "peripheral";
|
|
0 commit comments