Port Nokia 800 Tough (nokia-coconut), fix microSD detection, and stage upcoming a1120 (cocojamboo) build
- Migrate nokia-tough to canonical nokia-coconut while keeping CLI aliases, add layered bootloader/lk2nd/nokia-coconut.patch, bootfs/bootimg validators, and offline scripts/inspect-stock-msm8905-dump.py - Complete nokia-coconut Stage 2 hardware bring-up: wire 6-column 22-key keypad (gpio0, gpio3, gpio7, gpio99, gpio6, gpio1), gpio98 KEY_POWER, and pon@800:resin KEY_DOWN (0x6c); split leds-msm8905-torch into GPIO_13 white:torch (dedicated top-edge flashlight) and GPIO_32 camera:flash (rear camera flash for camera.so and bananarchy-photo) - Restore sdhci@7864000 non-removable across all six DTS/DTB targets, remove unwired gpio38 cd-gpios/sdc2-cd-* states, and harden sxmo_sdcard.sh under flock - Register upcoming build a1120 (cocojamboo) in scripts/version.sh, scripts/check-rebuild.sh, CHANGELOG.md, AGENTS.md, README.md, and MANUAL.md with verified hashes across nokia-argon, nokia-beatles, and nokia-coconut
This commit is contained in:
1 parent
fc5c4282f5
commit
ab53423e33
60 files changed
+2669
-453
No files matched your search
Binary file not shown.
@@ -1028,22 +1028,6 @@
|
||||
phandle = <0x4f>;
|
||||
};
|
||||
|
||||
sdc2-cd-on-state {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
drive-strength = <0x02>;
|
||||
bias-pull-up;
|
||||
phandle = <0x90>;
|
||||
};
|
||||
|
||||
sdc2-cd-off-state {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
drive-strength = <0x02>;
|
||||
bias-pull-up;
|
||||
phandle = <0x91>;
|
||||
};
|
||||
|
||||
wcnss-active-state {
|
||||
pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44";
|
||||
function = "wcss_wlan";
|
||||
@@ -1712,13 +1696,13 @@
|
||||
clocks = <0x14 0x82 0x14 0x81 0x18>;
|
||||
clock-names = "core", "iface", "xo";
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <0x4a 0x4b 0x4c 0x90>;
|
||||
pinctrl-1 = <0x4d 0x4e 0x4f 0x91>;
|
||||
pinctrl-0 = <0x4a 0x4b 0x4c>;
|
||||
pinctrl-1 = <0x4d 0x4e 0x4f>;
|
||||
bus-width = <0x04>;
|
||||
non-removable;
|
||||
status = "okay";
|
||||
vmmc-supply = <0x50>;
|
||||
vqmmc-supply = <0x51>;
|
||||
cd-gpios = <0x27 0x26 0x01>;
|
||||
};
|
||||
|
||||
dma-controller@7884000 {
|
||||
|
||||
@@ -1029,22 +1029,6 @@
|
||||
phandle = <0x4f>;
|
||||
};
|
||||
|
||||
sdc2-cd-on-state {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
drive-strength = <0x02>;
|
||||
bias-pull-up;
|
||||
phandle = <0x90>;
|
||||
};
|
||||
|
||||
sdc2-cd-off-state {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
drive-strength = <0x02>;
|
||||
bias-pull-up;
|
||||
phandle = <0x91>;
|
||||
};
|
||||
|
||||
wcnss-active-state {
|
||||
pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44";
|
||||
function = "wcss_wlan";
|
||||
@@ -1738,13 +1722,13 @@
|
||||
clocks = <0x14 0x82 0x14 0x81 0x18>;
|
||||
clock-names = "core", "iface", "xo";
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <0x4a 0x4b 0x4c 0x90>;
|
||||
pinctrl-1 = <0x4d 0x4e 0x4f 0x91>;
|
||||
pinctrl-0 = <0x4a 0x4b 0x4c>;
|
||||
pinctrl-1 = <0x4d 0x4e 0x4f>;
|
||||
bus-width = <0x04>;
|
||||
non-removable;
|
||||
status = "okay";
|
||||
vmmc-supply = <0x50>;
|
||||
vqmmc-supply = <0x51>;
|
||||
cd-gpios = <0x27 0x26 0x01>;
|
||||
};
|
||||
|
||||
dma-controller@7884000 {
|
||||
|
||||
Binary file not shown.
@@ -1029,22 +1029,6 @@
|
||||
phandle = <0x4f>;
|
||||
};
|
||||
|
||||
sdc2-cd-on-state {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
drive-strength = <0x02>;
|
||||
bias-pull-up;
|
||||
phandle = <0x90>;
|
||||
};
|
||||
|
||||
sdc2-cd-off-state {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
drive-strength = <0x02>;
|
||||
bias-pull-up;
|
||||
phandle = <0x91>;
|
||||
};
|
||||
|
||||
wcnss-active-state {
|
||||
pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44";
|
||||
function = "wcss_wlan";
|
||||
@@ -1726,13 +1710,13 @@
|
||||
clocks = <0x14 0x82 0x14 0x81 0x18>;
|
||||
clock-names = "core", "iface", "xo";
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <0x4a 0x4b 0x4c 0x90>;
|
||||
pinctrl-1 = <0x4d 0x4e 0x4f 0x91>;
|
||||
pinctrl-0 = <0x4a 0x4b 0x4c>;
|
||||
pinctrl-1 = <0x4d 0x4e 0x4f>;
|
||||
bus-width = <0x04>;
|
||||
non-removable;
|
||||
status = "okay";
|
||||
vmmc-supply = <0x50>;
|
||||
vqmmc-supply = <0x51>;
|
||||
cd-gpios = <0x27 0x26 0x01>;
|
||||
};
|
||||
|
||||
dma-controller@7884000 {
|
||||
|
||||
File renamed without changes.
@@ -27,8 +27,9 @@ deviceinfo_flash_pagesize="2048"
|
||||
deviceinfo_header_version="0"
|
||||
deviceinfo_flash_offset_base="0x80000000"
|
||||
deviceinfo_flash_offset_kernel="0x00008000"
|
||||
deviceinfo_flash_offset_ramdisk="0x02700000"
|
||||
# Stock 2019 FIH MSM8905 aboot load addresses, matching nokia-beatles.
|
||||
deviceinfo_flash_offset_ramdisk="0x01000000"
|
||||
deviceinfo_flash_offset_second="0x00f00000"
|
||||
deviceinfo_flash_offset_tags="0x02500000"
|
||||
deviceinfo_flash_offset_tags="0x00000100"
|
||||
deviceinfo_flash_sparse="true"
|
||||
deviceinfo_partition_type="msdos"
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
+16
-50
@@ -7,6 +7,9 @@
|
||||
model = "Nokia 800 Tough";
|
||||
compatible = "nokia,coconut", "nokia,argon", "qcom,msm8905", "qcom,msm8909";
|
||||
chassis-type = "handset";
|
||||
qcom,msm-id = <0x14b 0x00>;
|
||||
qcom,board-id = <0x1000b 0x100>;
|
||||
qcom,pmic-id = <0x1000d 0x00 0x00 0x00>;
|
||||
|
||||
aliases {
|
||||
mmc0 = "/soc@0/sdhci@7824000";
|
||||
@@ -216,7 +219,7 @@
|
||||
|
||||
memory@80000000 {
|
||||
device_type = "memory";
|
||||
reg = <0x80000000 0x00>;
|
||||
reg = <0x80000000 0x20000000>;
|
||||
};
|
||||
|
||||
pmu {
|
||||
@@ -1028,22 +1031,6 @@
|
||||
phandle = <0x4f>;
|
||||
};
|
||||
|
||||
sdc2-cd-on-state {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
drive-strength = <0x02>;
|
||||
bias-pull-up;
|
||||
phandle = <0x90>;
|
||||
};
|
||||
|
||||
sdc2-cd-off-state {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
drive-strength = <0x02>;
|
||||
bias-pull-up;
|
||||
phandle = <0x91>;
|
||||
};
|
||||
|
||||
wcnss-active-state {
|
||||
pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44";
|
||||
function = "wcss_wlan";
|
||||
@@ -1072,21 +1059,13 @@
|
||||
};
|
||||
|
||||
gpio-key-active-state {
|
||||
pins = "gpio90", "gpio98";
|
||||
pins = "gpio98";
|
||||
function = "gpio";
|
||||
drive-strength = <0x02>;
|
||||
bias-pull-up;
|
||||
phandle = <0x86>;
|
||||
};
|
||||
|
||||
lid-switch-active-state {
|
||||
pins = "gpio36", "gpio92";
|
||||
function = "gpio";
|
||||
drive-strength = <0x06>;
|
||||
bias-pull-up;
|
||||
phandle = <0x87>;
|
||||
};
|
||||
|
||||
matrix-keypad-row-gpio-state {
|
||||
pins = "gpio94", "gpio95", "gpio96", "gpio97";
|
||||
function = "gpio";
|
||||
@@ -1096,7 +1075,7 @@
|
||||
};
|
||||
|
||||
matrix-keypad-col-default-state {
|
||||
pins = "gpio52", "gpio56", "gpio7", "gpio99", "gpio6";
|
||||
pins = "gpio0", "gpio3", "gpio7", "gpio99", "gpio6", "gpio1";
|
||||
function = "gpio";
|
||||
drive-strength = <0x02>;
|
||||
bias-disable;
|
||||
@@ -1712,13 +1691,13 @@
|
||||
clocks = <0x14 0x82 0x14 0x81 0x18>;
|
||||
clock-names = "core", "iface", "xo";
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <0x4a 0x4b 0x4c 0x90>;
|
||||
pinctrl-1 = <0x4d 0x4e 0x4f 0x91>;
|
||||
pinctrl-0 = <0x4a 0x4b 0x4c>;
|
||||
pinctrl-1 = <0x4d 0x4e 0x4f>;
|
||||
bus-width = <0x04>;
|
||||
non-removable;
|
||||
status = "okay";
|
||||
vmmc-supply = <0x50>;
|
||||
vqmmc-supply = <0x51>;
|
||||
cd-gpios = <0x27 0x26 0x01>;
|
||||
};
|
||||
|
||||
dma-controller@7884000 {
|
||||
@@ -2364,8 +2343,8 @@
|
||||
compatible = "simple-battery";
|
||||
voltage-min-design-microvolt = <0x33e140>;
|
||||
voltage-max-design-microvolt = <0x432380>;
|
||||
energy-full-design-microwatt-hours = <0x594390>;
|
||||
charge-full-design-microamp-hours = <0x16e360>;
|
||||
energy-full-design-microwatt-hours = <0x79c3e0>;
|
||||
charge-full-design-microamp-hours = <0x200b20>;
|
||||
ocv-capacity-celsius = <0x19>;
|
||||
ocv-capacity-table-0 = <0x42d560 0x64 0x417da0 0x5f 0x409b10 0x5a 0x3fef30 0x55 0x3f7230 0x50 0x3ef148 0x4b 0x3e6890 0x46 0x3da540 0x41 0x3cda20 0x3c 0x3c45b0 0x37 0x3be408 0x32 0x3b3440 0x2d 0x3a9800 0x28 0x39fbc0 0x23 0x39bd40 0x1e 0x396368 0x19 0x391d18 0x14 0x38cb10 0x10 0x387cf0 0x0d 0x384e10 0x0b 0x384640 0x0a 0x384258 0x09 0x383a88 0x08 0x3832b8 0x07 0x381b48 0x06 0x37c940 0x05 0x371d60 0x04 0x363ad0 0x03 0x34d370 0x02 0x32b090 0x01 0x2dc6c0 0x00>;
|
||||
phandle = <0x29>;
|
||||
@@ -2373,7 +2352,7 @@
|
||||
|
||||
gpio-keys {
|
||||
compatible = "gpio-keys";
|
||||
pinctrl-0 = <0x86 0x87>;
|
||||
pinctrl-0 = <0x86>;
|
||||
pinctrl-names = "default";
|
||||
|
||||
key-up {
|
||||
@@ -2384,26 +2363,13 @@
|
||||
linux,can-disable;
|
||||
};
|
||||
|
||||
key-back {
|
||||
key-end {
|
||||
wakeup-source;
|
||||
gpios = <0x27 0x62 0x01>;
|
||||
linux,code = <0x0e>;
|
||||
linux,code = <0x74>;
|
||||
debounce-interval = <0x0f>;
|
||||
linux,can-disable;
|
||||
};
|
||||
|
||||
switch-lid-close {
|
||||
wakeup-source;
|
||||
gpios = <0x27 0x5c 0x01>;
|
||||
linux,input-type = <0x05>;
|
||||
linux,code = <0x00>;
|
||||
};
|
||||
|
||||
switch-lid-open {
|
||||
gpios = <0x27 0x24 0x01>;
|
||||
linux,input-type = <0x05>;
|
||||
linux,code = <0x0a>;
|
||||
};
|
||||
};
|
||||
|
||||
keypad {
|
||||
@@ -2414,8 +2380,8 @@
|
||||
pinctrl-0 = <0x88 0x89>;
|
||||
pinctrl-names = "default";
|
||||
row-gpios = <0x27 0x61 0x01 0x27 0x60 0x01 0x27 0x5f 0x01 0x27 0x5e 0x01>;
|
||||
col-gpios = <0x27 0x34 0x01 0x27 0x38 0x01 0x27 0x07 0x01 0x27 0x63 0x01 0x27 0x06 0x01>;
|
||||
linux,keymap = <0x1bd 0x10002 0x20005 0x30008 0x4020a 0x1000069 0x1010003 0x1020006 0x1030009 0x104000b 0x20002b8 0x2010004 0x2020007 0x203000a 0x204020b 0x300001c 0x301006a 0x30202b9>;
|
||||
col-gpios = <0x27 0x00 0x01 0x27 0x03 0x01 0x27 0x07 0x01 0x27 0x63 0x01 0x27 0x06 0x01 0x27 0x01 0x01>;
|
||||
linux,keymap = <0x1bd 0x10002 0x20005 0x30008 0x4020a 0x500d4 0x1000069 0x1010003 0x1020006 0x1030009 0x104000b 0x105000e 0x200007f 0x2010004 0x2020007 0x203000a 0x204020b 0x300001c 0x301006a 0x302009e 0x3030067 0x304006c>;
|
||||
};
|
||||
|
||||
leds {
|
||||
Binary file not shown.
@@ -1032,22 +1032,6 @@
|
||||
phandle = <0x43>;
|
||||
};
|
||||
|
||||
sdc2-cd-on-state {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
drive-strength = <0x02>;
|
||||
bias-pull-up;
|
||||
phandle = <0x90>;
|
||||
};
|
||||
|
||||
sdc2-cd-off-state {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
drive-strength = <0x02>;
|
||||
bias-pull-up;
|
||||
phandle = <0x91>;
|
||||
};
|
||||
|
||||
wcnss-active-state {
|
||||
pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44";
|
||||
function = "wcss_wlan";
|
||||
@@ -1405,13 +1389,13 @@
|
||||
clocks = <0x14 0x82 0x14 0x81 0x18>;
|
||||
clock-names = "core", "iface", "xo";
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <0x3e 0x3f 0x40 0x90>;
|
||||
pinctrl-1 = <0x41 0x42 0x43 0x91>;
|
||||
pinctrl-0 = <0x3e 0x3f 0x40>;
|
||||
pinctrl-1 = <0x41 0x42 0x43>;
|
||||
bus-width = <0x04>;
|
||||
non-removable;
|
||||
status = "okay";
|
||||
vmmc-supply = <0x44>;
|
||||
vqmmc-supply = <0x45>;
|
||||
cd-gpios = <0x27 0x26 0x01>;
|
||||
};
|
||||
|
||||
dma-controller@7884000 {
|
||||
|
||||
Binary file not shown.
@@ -1032,22 +1032,6 @@
|
||||
phandle = <0x43>;
|
||||
};
|
||||
|
||||
sdc2-cd-on-state {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
drive-strength = <0x02>;
|
||||
bias-pull-up;
|
||||
phandle = <0x90>;
|
||||
};
|
||||
|
||||
sdc2-cd-off-state {
|
||||
pins = "gpio38";
|
||||
function = "gpio";
|
||||
drive-strength = <0x02>;
|
||||
bias-pull-up;
|
||||
phandle = <0x91>;
|
||||
};
|
||||
|
||||
wcnss-active-state {
|
||||
pins = "gpio40", "gpio41", "gpio42", "gpio43", "gpio44";
|
||||
function = "wcss_wlan";
|
||||
@@ -1405,13 +1389,13 @@
|
||||
clocks = <0x14 0x82 0x14 0x81 0x18>;
|
||||
clock-names = "core", "iface", "xo";
|
||||
pinctrl-names = "default", "sleep";
|
||||
pinctrl-0 = <0x3e 0x3f 0x40 0x90>;
|
||||
pinctrl-1 = <0x41 0x42 0x43 0x91>;
|
||||
pinctrl-0 = <0x3e 0x3f 0x40>;
|
||||
pinctrl-1 = <0x41 0x42 0x43>;
|
||||
bus-width = <0x04>;
|
||||
non-removable;
|
||||
status = "okay";
|
||||
vmmc-supply = <0x44>;
|
||||
vqmmc-supply = <0x45>;
|
||||
cd-gpios = <0x27 0x26 0x01>;
|
||||
};
|
||||
|
||||
dma-controller@7884000 {
|
||||
|
||||
Binary file not shown.
Reference in new issue
Block a user