[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <m2wm26lv28.fsf@free.fr>
Date: Sun, 28 Dec 2025 12:11:59 +0100
From: Robert Jarzmik <robert.jarzmik@...e.fr>
To: "Arnd Bergmann" <arnd@...db.de>
Cc: "Rob Herring" <robh@...nel.org>, "Geert Uytterhoeven"
<geert+renesas@...der.be>, "Magnus Damm" <magnus.damm@...il.com>,
"Krzysztof Kozlowski" <krzk+dt@...nel.org>, "Conor Dooley"
<conor+dt@...nel.org>, "Daniel Mack" <daniel@...que.org>, "Haojian
Zhuang" <haojian.zhuang@...il.com>, "Andrew Lunn" <andrew@...n.ch>,
"Gregory Clement" <gregory.clement@...tlin.com>, "Sebastian Hesselbarth"
<sebastian.hesselbarth@...il.com>, Linux-Renesas
<linux-renesas-soc@...r.kernel.org>, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] ARM: dts: intel: Drop pxa2xx
"Arnd Bergmann" <arnd@...db.de> writes:
> Robert, let me know if you or someone else is able to spend
> some time on sending (warning-free) dts files for pxa2xx
> machines soon. If not, I'd plan to remove whatever is there
> along with the board files and drivers.
Here is one attached, the previously mentioned mioa701 board dts
file
I've been using for years (the date of the patch should be funny
enough). It was first submitted here :
https://lkml.org/lkml/2018/9/15/321
I'm not very sure pxa25x and pxa27x should survive though. Lately,
the
platform which I have left have 64MB of RAM, and cannot cope with
recent
binaries sizes. And to my best knowledge, pxa2xx architecture are
not
built anymore nor supported ...
The drivers might still be useful (the DMA, the SPI for intel CPU,
...).
Cheers.
--
Robert
-- >8 --
>From a3cbbe846c4651d71edcf36d114f5e48f4455347 Mon Sep 17 00:00:00
2001
From: Robert Jarzmik <robert.jarzmik@...e.fr>
Date: Mon, 1 Sep 2014 13:26:56 +0200
Subject: [PATCH] arm: dts: add mioa701 board description
Add device-tree description of the Mitac MIO A701 board.
Signed-off-by: Robert Jarzmik <robert.jarzmik@...e.fr>
---
arch/arm/boot/dts/intel/pxa/Makefile | 1 +
arch/arm/boot/dts/intel/pxa/mioa701.dts | 309
++++++++++++++++++++++++
2 files changed, 310 insertions(+)
create mode 100644 arch/arm/boot/dts/intel/pxa/mioa701.dts
diff --git a/arch/arm/boot/dts/intel/pxa/Makefile
b/arch/arm/boot/dts/intel/pxa/Makefile
index 24d5240f08e7..29670ec5861b 100644
--- a/arch/arm/boot/dts/intel/pxa/Makefile
+++ b/arch/arm/boot/dts/intel/pxa/Makefile
@@ -6,3 +6,4 @@ dtb-$(CONFIG_ARCH_PXA) += \
pxa300-raumfeld-speaker-m.dtb \
pxa300-raumfeld-speaker-one.dtb \
pxa300-raumfeld-speaker-s.dtb
+dtb-$(CONFIG_ARCH_PXA) += mioa701.dtb
diff --git a/arch/arm/boot/dts/intel/pxa/mioa701.dts
b/arch/arm/boot/dts/intel/pxa/mioa701.dts
new file mode 100644
index 000000000000..b8a27e6db2b2
--- /dev/null
+++ b/arch/arm/boot/dts/intel/pxa/mioa701.dts
@@ -0,0 +1,309 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
+/*
+ * Copyright (C) Robert Jarzmik <robert.jarzmik@...e.fr>
+ *
+ * This program is free software; you can redistribute it and/or
modify
+ * it under the terms of the GNU General Public License version
2 as
+ * publishhed by the Free Software Foundation.
+ */
+
+/dts-v1/;
+#include "pxa27x.dtsi"
+#include "dt-bindings/gpio/gpio.h"
+
+#define PMGROUP(pin) #pin
+#define PMMUX(func, pin, af) \
+ mux- ## func { \
+ groups = PMGROUP(P ## pin); \
+ function = #af; \
+ }
+#define PMMUX_LPM_LOW(func, pin, af) \
+ mux- ## func { \
+ groups = PMGROUP(P ## pin); \
+ function = #af; \
+ low-power-disable; \
+ }
+#define PMMUX_LPM_HIGH(func, pin, af) \
+ mux- ## func { \
+ groups = PMGROUP(P ## pin); \
+ function = #af; \
+ low-power-enable; \
+ }
+
+/ {
+ model = "Mitac Mio A701 Board";
+ /* compatible = "mitac,mioa701"; */
+ compatible = "marvell,pxa270";
+
+ chosen {
+ bootargs =
"mtdparts=docg3.0:256k@...6k(barebox)ro,256k(barebox-logo),128k(barebox-env),4M(kernel),-(root)
ubi.mtd=4 rootfstype=ubifs root=ubi0:linux_root ro";
+ };
+
+ memory {
+ reg = <0xa0000000 0x04000000>;
+
+ reserved-memory {
+ #address-cells = <1>;
+ #size-cells = <1>;
+
+ pstore_region:region@...00000 {
+ compatible =
"linux,contiguous-memory-region";
+ reg = <0xa2000000 1048576>;
+ };
+ };
+ };
+
+ cpus {
+ cpu {
+ cpu-supply = <&vcc_core>;
+ };
+ };
+
+ pxabus {
+ pinctrl: pinctrl@...00000 {
+ status = "okay";
+ pinctrl_mmc_default: mmc-default {
+ PMMUX(sd-insert, 15, gpio_in);
+ PMMUX(mmclk, 32, MMCLK);
+ PMMUX(sd-ro, 78, gpio_in);
+ PMMUX(sd-enable, 91, gpio_out);
+ PMMUX(mmdat0, 92, MMDAT<0>);
+ PMMUX(mmdat1, 109, MMDAT<1>);
+ PMMUX(mmdat2, 110, MMDAT<2>);
+ PMMUX(mmdat3, 111, MMDAT<3>);
+ PMMUX(mmcmd, 112, MMCMD);
+ };
+ pinctrl_leds_default: leds-default {
+ PMMUX(led-charging, 10, gpio_out);
+ PMMUX(led-vibra, 82, gpio_out);
+ PMMUX(led-blue, 97, gpio_out);
+ PMMUX_LPM_LOW(led-orange, 98,
gpio_out);
+ PMMUX_LPM_HIGH(led-keyboard, 115,
gpio_out);
+ };
+ };
+
+ gpio: gpio@...00000 {
+ status = "okay";
+ };
+
+ uart@...00000 {
+ status = "okay";
+ };
+
+ uart@...00000 {
+ status = "okay";
+ };
+
+ uart@...00000 {
+ status = "okay";
+ };
+
+ usb2phy: gpio-vbus@13 {
+ compatible = "usb-nop-xceiv";
+ vbus-detect-gpio = <&gpio 13
GPIO_ACTIVE_LOW>;
+ #phy-cells = <0>;
+ wakeup;
+ };
+
+ pxa27x_udc: udc@...00000 {
+ status = "okay";
+ gpios = <&gpio 22 0>;
+ phys = <&usb2phy>;
+ phys-names = "usb2phy";
+ };
+
+ i2c@...00180 {
+ status = "okay";
+
+ max1586@14 {
+ compatible = "maxim,max1586";
+ reg = <0x14>;
+ #address-cells = <0x1>;
+ #size-cells = <0x1>;
+ v3-gain = <1000000>;
+
+ regulators {
+ vcc_core: v3 {
+ regulator-name =
"vcc_core";
+
regulator-compatible = "Output_V3";
+
regulator-min-microvolt = <1000000>;
+
regulator-max-microvolt = <1705000>;
+
regulator-always-on;
+ };
+ };
+ };
+ };
+
+ pxai2c1: i2c@...01680 {
+ mrvl,i2c-fast-mode;
+ status = "okay";
+
+ mt9m111: camera@5d {
+ compatible = "micron,mt9m111";
+ reg = <0x5d>;
+ gpios = <&gpio 56
GPIO_ACTIVE_HIGH>;
+ };
+ };
+
+ keypad: keypad@...00000 {
+ status = "okay";
+
+ keypad,num-rows = <3>;
+ keypad,num-columns = <3>;
+ linux,keymap = <
+ 0x00000067 /* KEY_UP */
+ 0x0001006a /* KEY_RIGHT */
+ 0x000200e2 /* KEY_MEDIA */
+ 0x0100006c /* KEY_DOWN */
+ 0x0101001c /* KEY_ENTER */
+ 0x010200da /* KEY_CONNECT */
+ 0x02000069 /* KEY_LEFT */
+ 0x020100a9 /* KEY_PHONE */
+ 0x020200d4>; /* KEY_CAMERA */
+ marvell,debounce-interval = <0>;
+ };
+
+ gpio-keys {
+ compatible = "gpio-keys";
+ #address-cells = <1>;
+ #size-cells = <0>;
+ autorepeat;
+ status = "okay";
+
+ button@0 {
+ label = "GPIO Key Power";
+ linux,code = <174>;
+ gpios = <&gpio 0 0>;
+ gpio-key,wakeup;
+ };
+ button@12 {
+ label = "HP jack detect";
+ linux,code = <211>;
+ gpios = <&gpio 12 0>;
+ };
+ button@93 {
+ label = "Volume Up Key";
+ linux,code = <115>;
+ gpios = <&gpio 93 0>;
+ };
+ button@94 {
+ label = "Volume Down Key";
+ linux,code = <114>;
+ gpios = <&gpio 94 0>;
+ };
+ };
+
+ mmc0: mmc@...00000 {
+ vmmc-supply = <®_vmmc>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_mmc_default>;
+ status = "okay";
+ };
+
+ pxa_camera: imaging@...00000 {
+ status = "okay";
+ };
+
+ lcd-controller@...00000 {
+ status = "okay";
+ port {
+ lcdc_out: endpoint {
+ remote-endpoint =
<&panel_in>;
+ bus-width = <16>;
+ };
+ };
+ };
+ };
+
+ regulators {
+ compatible = "simple-bus";
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ reg_vmmc: regulator@0 {
+ compatible = "regulator-fixed";
+ regulator-name = "vmmc";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
+ };
+
+ backlight {
+ compatible = "pwm-backlight";
+ pwms = <&pwm0 40960000>;
+ pwm-names = "backlight";
+
+ brightness-levels = <0 4 8 16 32 64 128 255>;
+ default-brightness-level = <2>;
+ };
+
+ docg3: flash@0 {
+ compatible = "m-systems,diskonchip-g3";
+ reg = <0x0 0x2000>;
+ };
+
+ panel {
+ compatible = "toshiba,ltm0305a776";
+ lcd-type = "color-tft";
+
+ port {
+ panel_in: endpoint {
+ remote-endpoint = <&lcdc_out>;
+ };
+ };
+
+ display-timings {
+ native-mode = <&timing0>;
+ timing0: 240p {
+ /* 240x320p24 */
+ clock-frequency = <4545000>;
+ hactive = <240>;
+ vactive = <320>;
+ hfront-porch = <4>;
+ hback-porch = <6>;
+ hsync-len = <4>;
+ vback-porch = <5>;
+ vfront-porch = <3>;
+ vsync-len = <2>;
+ };
+ };
+ };
+
+ leds {
+ compatible = "gpio-leds";
+
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_leds_default>;
+
+ charger-led {
+ label = "mioa701:charging";
+ gpios = <&gpio 10 GPIO_ACTIVE_LOW>;
+ default-state = "off";
+ };
+
+ vibrator {
+ label = "mioa701:vibra";
+ gpios = <&gpio 82 GPIO_ACTIVE_LOW>;
+ default-state = "off";
+ };
+
+ bluetooth-led {
+ label = "mioa701:blue";
+ gpios = <&gpio 97 GPIO_ACTIVE_LOW>;
+ default-state = "off";
+ };
+
+ orange-led {
+ label = "mioa701:orange";
+ gpios = <&gpio 98 GPIO_ACTIVE_LOW>;
+ default-state = "off";
+ };
+
+ keyboard-led {
+ label = "mioa701:keyboard";
+ gpios = <&gpio 115 GPIO_ACTIVE_LOW>;
+ default-state = "off";
+ };
+ };
+};
--
2.50.1 (Apple Git-155)
Powered by blists - more mailing lists