1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (c) 2019 Hardkernel Co., Ltd 3 * Copyright (c) 2019 Hardkernel Co., Ltd 4 * Copyright (c) 2020 Theobroma Systems Design 4 * Copyright (c) 2020 Theobroma Systems Design und Consulting GmbH 5 * Copyright (c) 2022 Maya Matuszczyk <maccraft 5 * Copyright (c) 2022 Maya Matuszczyk <maccraft123mc@gmail.com> 6 */ 6 */ 7 7 8 /dts-v1/; 8 /dts-v1/; 9 #include "rk3326-odroid-go.dtsi" 9 #include "rk3326-odroid-go.dtsi" 10 10 11 / { 11 / { 12 model = "ODROID-GO Advance"; 12 model = "ODROID-GO Advance"; 13 compatible = "hardkernel,rk3326-odroid 13 compatible = "hardkernel,rk3326-odroid-go2", "rockchip,rk3326"; 14 14 15 analog_sticks: adc-joystick { 15 analog_sticks: adc-joystick { 16 compatible = "adc-joystick"; 16 compatible = "adc-joystick"; 17 io-channels = <&saradc 1>, 17 io-channels = <&saradc 1>, 18 <&saradc 2>; 18 <&saradc 2>; 19 poll-interval = <60>; 19 poll-interval = <60>; 20 #address-cells = <1>; 20 #address-cells = <1>; 21 #size-cells = <0>; 21 #size-cells = <0>; 22 22 23 axis@0 { 23 axis@0 { 24 reg = <0>; 24 reg = <0>; 25 abs-flat = <10>; 25 abs-flat = <10>; 26 abs-fuzz = <10>; 26 abs-fuzz = <10>; 27 abs-range = <172 772>; 27 abs-range = <172 772>; 28 linux,code = <ABS_X>; 28 linux,code = <ABS_X>; 29 }; 29 }; 30 30 31 axis@1 { 31 axis@1 { 32 reg = <1>; 32 reg = <1>; 33 abs-flat = <10>; 33 abs-flat = <10>; 34 abs-fuzz = <10>; 34 abs-fuzz = <10>; 35 abs-range = <278 815>; 35 abs-range = <278 815>; 36 linux,code = <ABS_Y>; 36 linux,code = <ABS_Y>; 37 }; 37 }; 38 }; 38 }; 39 39 40 battery: battery { 40 battery: battery { 41 compatible = "simple-battery"; 41 compatible = "simple-battery"; 42 charge-full-design-microamp-ho 42 charge-full-design-microamp-hours = <3000000>; 43 charge-term-current-microamp = 43 charge-term-current-microamp = <300000>; 44 constant-charge-current-max-mi 44 constant-charge-current-max-microamp = <2000000>; 45 constant-charge-voltage-max-mi 45 constant-charge-voltage-max-microvolt = <4200000>; 46 factory-internal-resistance-mi 46 factory-internal-resistance-micro-ohms = <180000>; 47 voltage-max-design-microvolt = 47 voltage-max-design-microvolt = <4100000>; 48 voltage-min-design-microvolt = 48 voltage-min-design-microvolt = <3500000>; 49 49 50 ocv-capacity-celsius = <20>; 50 ocv-capacity-celsius = <20>; 51 ocv-capacity-table-0 = <40469 51 ocv-capacity-table-0 = <4046950 100>, <4001920 95>, <3967900 90>, <3919950 85>, 52 <38884 52 <3888450 80>, <3861850 75>, <3831540 70>, <3799130 65>, 53 <37681 53 <3768190 60>, <3745650 55>, <3726610 50>, <3711630 45>, 54 <36967 54 <3696720 40>, <3685660 35>, <3674950 30>, <3663050 25>, 55 <36494 55 <3649470 20>, <3635260 15>, <3616920 10>, <3592440 5>, 56 <35741 56 <3574170 0>; 57 }; 57 }; 58 }; 58 }; 59 59 60 &internal_display { 60 &internal_display { 61 compatible = "elida,kd35t133"; 61 compatible = "elida,kd35t133"; 62 iovcc-supply = <&vcc_lcd>; << 63 vdd-supply = <&vcc_lcd>; << 64 }; 62 }; 65 63 66 &rk817_charger { 64 &rk817_charger { 67 monitored-battery = <&battery>; 65 monitored-battery = <&battery>; 68 }; 66 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.