From: Yuugo Yoneda Subject: [PATCH RFC v2 00/13] SiRF AT550 / YPL514si initial RAM-boot platform support Date: Sat, 21 Nov 2026 21:43:10 +0900 Message-Id: <20261121-at550-rfc-v1-v2-0-b0309d0789b2@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-B4-Tracking: v=1; b=H4sIAAAAAAAC/22NwQ6CMBBEf4Xs2Rq2ZqV4MjHxA7waDqUusEbAt Eg0hH+34NVkLjOZeTNBYC8c4JBM4HmUIH0Xjd4k4Brb1azkFj3oVO8RMVN2IEqVr5waUWnKEQ1 ZXbGBOHl6ruS94q5wOZ+g+IXhVd7ZDQtoqTUSht5/1tMR1/J/flSqyGQ5ZTtXGk3HurXy2Lq+h WKe5y9/6ZLGvwAAAA== X-Change-ID: 20261117-at550-rfc-v1-2591185a2fe8 To: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Thomas Gleixner , Radu Rendec , Daniel Lezcano , Dmitry Torokhov , Ulf Hansson , Adrian Hunter , Jonathan Corbet , Shuah Khan , Randy Dunlap , Russell King , Arnd Bergmann , Alexandre Belloni , Linus Walleij , Drew Fustini , linux-kernel@vger.kernel.org, linux-input@vger.kernel.org, linux-mmc@vger.kernel.org, linux-doc@vger.kernel.org, soc@lists.linux.dev X-Mailer: b4 0.15.2 X-Developer-Signature: v=1; a=ed25519-sha256; t=1795264991; l=7040; i=yogo.0917.sabu@gmail.com; s=ypl514-20261117; h=from:subject:message-id; bh=RX37VfLoCCiIU8nvAlDR8InP85JpRvmsUZOfH2oW5E4=; b=RA1yZ18WSjpYWWKhdd8WZP4yYiznOBsXKp4L8kdOXyhRFB24pKbIToGbnhcti+HJBtYt02zkW O53W3sMfbc+AHLx4f89psz2HNe9jLtQAx7n54yIzZnQcZUK0fyWbEbz X-Developer-Key: i=yogo.0917.sabu@gmail.com; a=ed25519; pk=TIQ8Tk4xQrxyn8rmk3GI2f5qg/kO6g2KZm7YOOyBHeg= X-Endpoint-Received: by B4 Relay for yogo.0917.sabu@gmail.com/ypl514-20261117 with auth_id=1550 List-Id: B4 Relay Submissions This RFC adds initial platform support for the SiRF AT550 SoC (ARM1136 r1p5, MIDR 0x4117b365) and the Yupiteru YPL514si portable navigation device on top of 7.4-rc3. The platform boots from RAM via a Windows CE bootloader trampoline using standard IRQCHIP_DECLARE, TIMER_OF_DECLARE, common clock, polled input, SDHCI PIO, and simplefb paths. Firmware initializes SDRAM, peripheral clocks, pin multiplexing, and the LCD before handoff. The bootloader supplies the Linux-owned RAM range in memory@c0000000 and the post-divider counter rate in clock-counter, reserves the framebuffer via a no-map reserved-memory node, and enables only handed-over peripherals. Validation status: - Hardware: I booted both v1 and this v2 series on the YPL514si (v2 CE handoff log confirmed a 32 MiB Linux allocation at 0xc1e00000, 8192 PFNs, 124805090 Hz measured counter clock, and all three gated peripherals enabled). - Local builds/checks for v2: at550_defconfig Image and DTB build (W=1), leaf drivers built in-kernel and as modules (W=1), multiplatform CONFIG_SMP=y + CONFIG_ARCH_AT550=y object builds (W=1), dt_binding_check, scoped dtbs_check, dt-check-style --mode strict, ARM32 bootloader DT fixup tests for 16/24/32 MiB, and b4 prep --check. (QEMU ARM1136 bring-up tests were run on v1 using GIC/SP804/PL181 and synthetic uinput rather than physical AT550 hardware.) Initial limits: - Peripheral clock tree control, pinctrl, cold boot, SDHCI DMA translation, and suspend/resume are not implemented yet. - The board DTS restricts SD to 25 MHz PIO, 3.3 V only, no MMC, and no SDIO; SD writes and card removal are untested. - Register layouts were cross-checked against a third-party AT551 draft datasheet and observed CE mappings, which is not a complete AT550 hardware specification. I would appreciate early feedback on the overall platform split and the firmware/DT handoff contract before extending clock, pinctrl, or DMA support. Signed-off-by: Yuugo Yoneda --- Changes in v2: - Use my real name (Yuugo Yoneda) in author headers, MAINTAINERS, DT binding maintainers, and Signed-off-by trailers. - Split the monolithic bindings and platform patches into 13 commits following subsystem and SoC conventions, and rewrite commit logs and cover letter directly. - Select CPU_ARM1136R1 instead of CPU_V6 in arch/arm/mach-at550/Kconfig (also avoiding !SMP conflicts in multiplatform builds), and disable CONFIG_ARCH_MULTI_V7 in at550_defconfig. - Replace /memreserve/ with a /reserved-memory node using no-map in at550-ypl514si.dts so simplefb ioremap_wc() does not alias the ARM linear mapping. - Update DT schemas to describe hardware instead of driver/firmware limits (allow optional interrupts/clocks in sirf,at550-ts.yaml and optional clocks in sirf,at550-sdhci.yaml, drop no-1-8-v from required in sirf,at550-sdhci.yaml, allow 1..6 match interrupts and maxItems: 1 clock in sirf,at550-timer.yaml, and revise schema descriptions). - Set IRQ_LEVEL on mapped level interrupts in irq-at550.c. - Enable the timer clock before MMIO reads, disable the timer before reading/updating MATCH0, clear STATUS after writing MATCH0, and implement set_state_oneshot_stopped in timer-at550.c. - Explicitly stop acquisition in at550_ts_close(), clear interrupts after mode changes, include mod_devicetable.h and bits.h (dropping unused bitfield.h), follow Input error-handling conventions, and fix coding style in at550-ts.c. - Drop redundant ops/remove wrappers and premature caps/version checks, and include mod_devicetable.h in sdhci-at550.c. - Sort subdir-y += sirf alphabetically with a trailing newline in arch/arm/boot/dts/Makefile, and fix strict dt-check-style node/property ordering and blank lines in at550.dtsi and at550-ypl514si.dts. - Link to v1: https://patch.msgid.link/20261117-at550-rfc-v1-v1-0-5879573cb825@gmail.com --- Yuugo Yoneda (13): dt-bindings: vendor-prefixes: add Yupiteru dt-bindings: arm: add SiRF AT550 and Yupiteru YPL514si dt-bindings: interrupt-controller: add SiRF AT550 interrupt controller irqchip: add SiRF AT550 interrupt controller driver dt-bindings: timer: add SiRF AT550 system timer clocksource/drivers/timer-at550: add SiRF AT550 counter and match timer dt-bindings: input: touchscreen: add SiRF AT550 touchscreen Input: add polled SiRF AT550 resistive touchscreen driver dt-bindings: mmc: add SiRF AT550 SDHCI host controller mmc: sdhci-at550: add SiRF AT550 programmed-I/O host driver ARM: at550: add SiRF AT550 platform support ARM: dts: sirf: add SiRF AT550 SoC and Yupiteru YPL514si board ARM: configs: add at550_defconfig Documentation/arch/arm/at550.rst | 56 +++++++++ Documentation/arch/arm/index.rst | 1 + .../devicetree/bindings/arm/sirf,at550.yaml | 22 ++++ .../bindings/input/touchscreen/sirf,at550-ts.yaml | 40 ++++++ .../interrupt-controller/sirf,at550-intc.yaml | 46 +++++++ .../devicetree/bindings/mmc/sirf,at550-sdhci.yaml | 50 ++++++++ .../bindings/timer/sirf,at550-timer.yaml | 51 ++++++++ .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 17 +++ arch/arm/Kconfig | 1 + arch/arm/Makefile | 1 + arch/arm/boot/dts/Makefile | 1 + arch/arm/boot/dts/sirf/Makefile | 2 + arch/arm/boot/dts/sirf/at550-ypl514si.dts | 63 ++++++++++ arch/arm/boot/dts/sirf/at550.dtsi | 69 +++++++++++ arch/arm/configs/at550_defconfig | 35 ++++++ arch/arm/mach-at550/Kconfig | 13 ++ arch/arm/mach-at550/Makefile | 2 + arch/arm/mach-at550/at550.c | 11 ++ drivers/clocksource/Kconfig | 6 + drivers/clocksource/Makefile | 2 + drivers/clocksource/timer-at550.c | 136 +++++++++++++++++++++ drivers/input/touchscreen/Kconfig | 10 ++ drivers/input/touchscreen/Makefile | 2 + drivers/input/touchscreen/at550-ts.c | 124 +++++++++++++++++++ drivers/irqchip/Kconfig | 5 + drivers/irqchip/Makefile | 2 + drivers/irqchip/irq-at550.c | 111 +++++++++++++++++ drivers/mmc/host/Kconfig | 10 ++ drivers/mmc/host/Makefile | 2 + drivers/mmc/host/sdhci-at550.c | 51 ++++++++ 31 files changed, 944 insertions(+) --- base-commit: 666539eecdf4db623f5e3c3e55cf9f2dfad24aa4 change-id: 20261117-at550-rfc-v1-2591185a2fe8 Best regards, -- Yuugo Yoneda