Skip to content

wb7: defined proper modem's gpios and usb-soc addr - #78

Merged
vdromanov merged 7 commits into
dev/v5.10.yfrom
feature/wb7-modem-support
Feb 24, 2022
Merged

wb7: defined proper modem's gpios and usb-soc addr#78
vdromanov merged 7 commits into
dev/v5.10.yfrom
feature/wb7-modem-support

Conversation

@vdromanov

@vdromanov vdromanov commented Feb 1, 2022

Copy link
Copy Markdown
Contributor

Поддержка модемов в wb7. Правильно разворачиваются gpio, появился адрес нужного usb

Связанные PR: wb-utils, hwconf

};

gsm {
usb-soc-addr = "1c1c000"; // ehci2; modem is connected to

@vdromanov vdromanov Feb 1, 2022

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

нужно каким-то образом из юзерспейса знать, на каком порту висит модем
пробовал тут phandle и alias - не получилось

@vdromanov

Copy link
Copy Markdown
Contributor Author

идея Жени с device-tree - рабочая

теперь вместо захардкоженной строчки адреса usb-шины в wb7, привязал модем к:

  • шине => хабу => порту - для wb6
  • шине => порту - для wb7

@evgeny-boger evgeny-boger left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

пока не вливай, давай дождёмся всех PR

@vdromanov
vdromanov merged commit ad93eeb into dev/v5.10.y Feb 24, 2022
@vdromanov
vdromanov deleted the feature/wb7-modem-support branch February 24, 2022 12:00
taraant pushed a commit that referenced this pull request May 16, 2025
* wb7: defined proper modem's gpios and usb-soc addr

* binded wbc-modem usb ports in wb6 and 7

* moved modem's gpios info to actual usb node

* added default state to modem's usb node

* modem_usb: port2 in wb6.x; port3 in wb6.7+
taraant pushed a commit that referenced this pull request May 16, 2025
* wb7: defined proper modem's gpios and usb-soc addr

* binded wbc-modem usb ports in wb6 and 7

* moved modem's gpios info to actual usb node

* added default state to modem's usb node

* modem_usb: port2 in wb6.x; port3 in wb6.7+
taraant pushed a commit that referenced this pull request May 16, 2025
* wb7: defined proper modem's gpios and usb-soc addr

* binded wbc-modem usb ports in wb6 and 7

* moved modem's gpios info to actual usb node

* added default state to modem's usb node

* modem_usb: port2 in wb6.x; port3 in wb6.7+
taraant pushed a commit that referenced this pull request May 19, 2025
* wb7: defined proper modem's gpios and usb-soc addr

* binded wbc-modem usb ports in wb6 and 7

* moved modem's gpios info to actual usb node

* added default state to modem's usb node

* modem_usb: port2 in wb6.x; port3 in wb6.7+
taraant pushed a commit that referenced this pull request May 19, 2025
* wb7: defined proper modem's gpios and usb-soc addr

* binded wbc-modem usb ports in wb6 and 7

* moved modem's gpios info to actual usb node

* added default state to modem's usb node

* modem_usb: port2 in wb6.x; port3 in wb6.7+
taraant pushed a commit that referenced this pull request May 19, 2025
* wb7: defined proper modem's gpios and usb-soc addr

* binded wbc-modem usb ports in wb6 and 7

* moved modem's gpios info to actual usb node

* added default state to modem's usb node

* modem_usb: port2 in wb6.x; port3 in wb6.7+
taraant pushed a commit that referenced this pull request May 19, 2025
Original commits:
  arch/arm/Makefile
    dd9d47a: ARM: 9156/1: drop cc-option fallbacks for architecture selection
  arch/arm/boot/dts/Makefile
    b672c11: arch/arm/boot/dts: WB5, WB6: Add all .dts and corresponding Makefile
    6e40c49: new dts for wb6.8.x (rtc_clkout is gpio)
    757ff51: introduced a new model wb6.9: changed wdg-gpio; new eth phy (lan8720) (#69)
    82d206f: wb: add dts and defconfig for SoM testing
    41efdbd: ARM: dts: r40: Add dts for Wiren Board 7
    a490e92: wb6.7.x: added -nousbhub dts (wbc-modem is connected directly to SoC's usb) (#85)
    a047e1e: dts: wb7: add dts for WB 7.3
    b4c9015: dts: add wirenboard6x-init DTS for 5.10 (#94)
    dcb2d34: wb: dts: disable CAN on WB7.3 and add WB7.3.1
    bd7d6f2: arm: dts: wb7: add 7.3.2 w/o eth MAC EEPROMs
    e6227e4: wb7: add support for hw rev. 7.3.3 (#105)
    3ea1b23: wb7: dts: lower usb-gadget speed; add initram-dts with high usb-gadget speed (#122)
    efbe2be: add wb7min defconfig
    06dad6d: ARM: dts: r40: Add dts for Wiren Board 7.4
    37d87c1: add WBEC support for wb7 bootlet
    0349992: dts: wb7: add WB 7.4.2 revision with different ADC resistor divider
    6430e72: wb74: add 38071cb dts
  arch/arm/boot/dts/imx23-audio.dts
    b672c11: arch/arm/boot/dts: WB5, WB6: Add all .dts and corresponding Makefile
  arch/arm/boot/dts/imx23-olinuxino.dts
    b672c11: arch/arm/boot/dts: WB5, WB6: Add all .dts and corresponding Makefile
  arch/arm/boot/dts/imx23.dtsi
    52e1e85: mxs: imx23: use microseconds counter from DIGCTL block as a clocksource instead of 32kHz timer
  arch/arm/boot/dts/imx28-ev-dbg.dts
    b672c11: arch/arm/boot/dts: WB5, WB6: Add all .dts and corresponding Makefile
  arch/arm/boot/dts/imx28-wirenboard50.dts
    b672c11: arch/arm/boot/dts: WB5, WB6: Add all .dts and corresponding Makefile
  arch/arm/boot/dts/imx28-wirenboard52-functest.dts
    b672c11: arch/arm/boot/dts: WB5, WB6: Add all .dts and corresponding Makefile
  arch/arm/boot/dts/imx28-wirenboard52.dts
    b672c11: arch/arm/boot/dts: WB5, WB6: Add all .dts and corresponding Makefile
  arch/arm/boot/dts/imx28-wirenboard55.dts
    b672c11: arch/arm/boot/dts: WB5, WB6: Add all .dts and corresponding Makefile
  arch/arm/boot/dts/imx28-wirenboard58.dts
    b672c11: arch/arm/boot/dts: WB5, WB6: Add all .dts and corresponding Makefile
  arch/arm/boot/dts/imx28-wirenboard5x-usbfw.dts
    b672c11: arch/arm/boot/dts: WB5, WB6: Add all .dts and corresponding Makefile
  arch/arm/boot/dts/imx28.dtsi
    b672c11: arch/arm/boot/dts: WB5, WB6: Add all .dts and corresponding Makefile
  arch/arm/boot/dts/imx6ul-pinfunc.h
    9c04994: ARM: dts: imx6ul: properly initialize UART7/8 RTS input regs
  arch/arm/boot/dts/imx6ul-wirenboard-evk.dts
    b672c11: arch/arm/boot/dts: WB5, WB6: Add all .dts and corresponding Makefile
  arch/arm/boot/dts/imx6ul-wirenboard61.dts
    b672c11: arch/arm/boot/dts: WB5, WB6: Add all .dts and corresponding Makefile
    8b7ff1b: rts on rs485 uarts is configured as gpio with default PD (#56)
    c336a5a: wb6: dts: define clock for phy for proper reset
    6e40c49: new dts for wb6.8.x (rtc_clkout is gpio)
    b042223: dts: disable rts-gpios on WB6 modX uarts by default (#68)
    ad93eeb: wb7: defined proper modem's gpios and usb-soc addr (#78)
    2a813ac: wb6, wb7: added rtc-rv8803 driver to defconfig (#84)
    567646d: wb6: fix bootlet configuration and MMC pinctrl config (#89)
    a5a031d: wb: dts: adjust gpio line names (#116)
  arch/arm/boot/dts/imx6ul-wirenboard65.dts
    b672c11: arch/arm/boot/dts: WB5, WB6: Add all .dts and corresponding Makefile
    a5a031d: wb: dts: adjust gpio line names (#116)
  arch/arm/boot/dts/imx6ul-wirenboard660.dts
    b672c11: arch/arm/boot/dts: WB5, WB6: Add all .dts and corresponding Makefile
  arch/arm/boot/dts/imx6ul-wirenboard670-nousbhub.dts
    a490e92: wb6.7.x: added -nousbhub dts (wbc-modem is connected directly to SoC's usb) (#85)
  arch/arm/boot/dts/imx6ul-wirenboard670.dts
    b672c11: arch/arm/boot/dts: WB5, WB6: Add all .dts and corresponding Makefile
    8b7ff1b: rts on rs485 uarts is configured as gpio with default PD (#56)
    b042223: dts: disable rts-gpios on WB6 modX uarts by default (#68)
    ad93eeb: wb7: defined proper modem's gpios and usb-soc addr (#78)
    a5a031d: wb: dts: adjust gpio line names (#116)
  arch/arm/boot/dts/imx6ul-wirenboard680.dts
    6e40c49: new dts for wb6.8.x (rtc_clkout is gpio)
    2a813ac: wb6, wb7: added rtc-rv8803 driver to defconfig (#84)
  arch/arm/boot/dts/imx6ul-wirenboard690.dts
    757ff51: introduced a new model wb6.9: changed wdg-gpio; new eth phy (lan8720) (#69)
    d2deca0: dts: fixed unstable eth connection on wb6.9 (#75)
    42e6bec: wb6.9: fixed incorrect clk on fec2 (#79)
    a5a031d: wb: dts: adjust gpio line names (#116)
  arch/arm/boot/dts/imx6ul-wirenboard6x-init.dts
    b4c9015: dts: add wirenboard6x-init DTS for 5.10 (#94)
  arch/arm/boot/dts/imx6ul.dtsi
    955fa47: dts: imx6ul(l): add LDP_1P1 regulator
  arch/arm/boot/dts/omap3.dtsi
    6ce6443: ARM: dts: Fix swapped mmc order for omap3
  arch/arm/boot/dts/omap4.dtsi
    a55de4f: ARM: dts: Fix moving mmc devices with aliases for omap4 & 5
  arch/arm/boot/dts/omap44xx-clocks.dtsi
    9f399a9: ARM: dts: Drop duplicate sha2md5_fck to fix clk_disable race
  arch/arm/boot/dts/omap5.dtsi
    a55de4f: ARM: dts: Fix moving mmc devices with aliases for omap4 & 5
  arch/arm/boot/dts/sun8i-r40-wirenboard-som-test.dts
    82d206f: wb: add dts and defconfig for SoM testing
    a5a031d: wb: dts: adjust gpio line names (#116)
  arch/arm/boot/dts/sun8i-r40-wirenboard720.dts
    41efdbd: ARM: dts: r40: Add dts for Wiren Board 7
    b905f07: ARM: dts: r40: wb7: enable battery driver
    ad93eeb: wb7: defined proper modem's gpios and usb-soc addr (#78)
    2a813ac: wb6, wb7: added rtc-rv8803 driver to defconfig (#84)
    e0c49db: dts: rename wirenboard 7.2.0 dts file
    a047e1e: dts: wb7: add dts for WB 7.3
    bd7d6f2: arm: dts: wb7: add 7.3.2 w/o eth MAC EEPROMs
    8dd7b01: dts: add missing wirenboard-7xx compatible strings for 7.2.x
  arch/arm/boot/dts/sun8i-r40-wirenboard72x-eui-eeprom.dtsi
    bd7d6f2: arm: dts: wb7: add 7.3.2 w/o eth MAC EEPROMs
  arch/arm/boot/dts/sun8i-r40-wirenboard72x-factory.dts
    37d87c1: add WBEC support for wb7 bootlet
  arch/arm/boot/dts/sun8i-r40-wirenboard72x-initram.dts
    3ea1b23: wb7: dts: lower usb-gadget speed; add initram-dts with high usb-gadget speed (#122)
    8dd7b01: dts: add missing wirenboard-7xx compatible strings for 7.2.x
    37d87c1: add WBEC support for wb7 bootlet
  arch/arm/boot/dts/sun8i-r40-wirenboard72x-initram.dtsi
    37d87c1: add WBEC support for wb7 bootlet
    5c684d2: dts: fix microsd on 7.3+ boards in bootlet
  arch/arm/boot/dts/sun8i-r40-wirenboard72x.dtsi
    e0c49db: dts: rename wirenboard 7.2.0 dts file
    a047e1e: dts: wb7: add dts for WB 7.3
    bf5df80: wb:dts: fix annoying warning
    0bc316f: arm: dts: wb7: change order of ethernet aliases
    4cd32ad: dts: wb7: add generic labels for ethernet adapters (#107)
    a5a031d: wb: dts: adjust gpio line names (#116)
    3ea1b23: wb7: dts: lower usb-gadget speed; add initram-dts with high usb-gadget speed (#122)
    b334992: wb7: dts: work around wrong LED mode on 2nd eth
    0cbd16d: wb7: disable microsd card detect gpio
    fe28816: add regulator-boot-on in dts
    ca89d0b: wb7 dts: add wbio-i2c-recovery pins
  arch/arm/boot/dts/sun8i-r40-wirenboard730.dts
    a047e1e: dts: wb7: add dts for WB 7.3
    e89aa80: wb:dts: move wb7.3.0 to include
    dcb2d34: wb: dts: disable CAN on WB7.3 and add WB7.3.1
    1e5bc22: fix userspace compatibility
    bd7d6f2: arm: dts: wb7: add 7.3.2 w/o eth MAC EEPROMs
  arch/arm/boot/dts/sun8i-r40-wirenboard731.dts
    dcb2d34: wb: dts: disable CAN on WB7.3 and add WB7.3.1
    1e5bc22: fix userspace compatibility
    bd7d6f2: arm: dts: wb7: add 7.3.2 w/o eth MAC EEPROMs
  arch/arm/boot/dts/sun8i-r40-wirenboard732.dts
    bd7d6f2: arm: dts: wb7: add 7.3.2 w/o eth MAC EEPROMs
  arch/arm/boot/dts/sun8i-r40-wirenboard733.dts
    e6227e4: wb7: add support for hw rev. 7.3.3 (#105)
  arch/arm/boot/dts/sun8i-r40-wirenboard734-38071cb.dts
    efbe2be: add wb7min defconfig
  arch/arm/boot/dts/sun8i-r40-wirenboard73x.dtsi
    e89aa80: wb:dts: move wb7.3.0 to include
  arch/arm/boot/dts/sun8i-r40-wirenboard741.dts
    06dad6d: ARM: dts: r40: Add dts for Wiren Board 7.4
    0349992: dts: wb7: add WB 7.4.2 revision with different ADC resistor divider
  arch/arm/boot/dts/sun8i-r40-wirenboard742-38071cb.dts
    6430e72: wb74: add 38071cb dts
    e5de9a0: add necessary wbec modules to 38071cb defconfig; add modules to dts
  arch/arm/boot/dts/sun8i-r40-wirenboard742.dts
    0349992: dts: wb7: add WB 7.4.2 revision with different ADC resistor divider
  arch/arm/boot/dts/sun8i-r40-wirenboard74x.dtsi
    06dad6d: ARM: dts: r40: Add dts for Wiren Board 7.4
    758f443: wirenboard74x.dtsi: fix `V_OUT ON` gpio name
    0349992: dts: wb7: add WB 7.4.2 revision with different ADC resistor divider
    091e719: wb74: disable microsd card detect gpio
    5ce47c0: dts: wb74x: fix 1-Wire pins
    fe28816: add regulator-boot-on in dts
    ca89d0b: wb7 dts: add wbio-i2c-recovery pins
  arch/arm/boot/dts/sun8i-r40-wirenboard7xx-38071cb.dtsi
    efbe2be: add wb7min defconfig
  arch/arm/boot/dts/sun8i-r40.dtsi
    686a254: ARM: dts: sun8i: r40: add node for CAN controller
    f815c6d: ARM: dts: sun8i: r40: Add timer node
    a86742b: ARM: dtsi: add pwm node for sun8i R40.
    f500a4a: ARM: dts: sun8i: r40: add second ethernet support (submitted to upstream)
    8278a35: ARM: dts: sun8i: r40: add rtp node (submitted to upstream)
    796285b: ARM: dts: sun8i: r40: add child iio node for gpadc
    359abbb: ARM: dts: sun8i: r40: add usb0 dual role support
    3a20b97: WIP: r40 sid
    154bb8b: ARM: dts: sun8i: r40: add cpufreq tables
    2de4fb0: dts: arm: r40: add various pins to pinctrl
    2b4ba7f: ARM: dts: sun4i: r40: change uart compatible
    6cdef71: dts: arm: r40: add various pins to pinctrl
  arch/arm64/boot/dts/allwinner/sun50i-a64-pine64-lts.dts
    286c39d: arm64: dts: allwinner: Fix SD card CD GPIO for SOPine systems
    edc5d16: arm64: dts: allwinner: Revert SD card CD GPIO for Pine64-LTS
  arch/arm64/boot/dts/allwinner/sun50i-a64-sopine.dtsi
    286c39d: arm64: dts: allwinner: Fix SD card CD GPIO for SOPine systems
  arch/arm64/boot/dts/allwinner/sun50i-a64.dtsi
    a4a7cf6: arm64: dts: allwinner: a64: Sort watchdog node
    e0475ad: arm64: dts: allwinner: Add sun4i MMIO timer nodes
  arch/arm64/boot/dts/allwinner/sun50i-h6-beelink-gs1.dts
    8d7906c: arm64: dts: allwinner: h6: beelink-gs1: Remove ext. 32 kHz osc reference
  arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi
    e0475ad: arm64: dts: allwinner: Add sun4i MMIO timer nodes
  drivers/of/overlay.c
    ad88b84: of: overlay: kobjectify overlay objects
    860cbed: of: overlay: global sysfs enable attribute
    b446483: of: overlay: add per overlay sysfs attributes
    68bb5b9: wb: workaround: disable memory leak warning in runtime dt overlays
taraant pushed a commit that referenced this pull request Jun 9, 2025
* wb7: defined proper modem's gpios and usb-soc addr

* binded wbc-modem usb ports in wb6 and 7

* moved modem's gpios info to actual usb node

* added default state to modem's usb node

* modem_usb: port2 in wb6.x; port3 in wb6.7+
taraant pushed a commit that referenced this pull request Jun 9, 2025
* wb7: defined proper modem's gpios and usb-soc addr

* binded wbc-modem usb ports in wb6 and 7

* moved modem's gpios info to actual usb node

* added default state to modem's usb node

* modem_usb: port2 in wb6.x; port3 in wb6.7+
taraant pushed a commit that referenced this pull request Jun 9, 2025
* wb7: defined proper modem's gpios and usb-soc addr

* binded wbc-modem usb ports in wb6 and 7

* moved modem's gpios info to actual usb node

* added default state to modem's usb node

* modem_usb: port2 in wb6.x; port3 in wb6.7+
taraant pushed a commit that referenced this pull request Jul 29, 2025
* wb7: defined proper modem's gpios and usb-soc addr

* binded wbc-modem usb ports in wb6 and 7

* moved modem's gpios info to actual usb node

* added default state to modem's usb node

* modem_usb: port2 in wb6.x; port3 in wb6.7+
taraant pushed a commit that referenced this pull request Jul 29, 2025
* wb7: defined proper modem's gpios and usb-soc addr

* binded wbc-modem usb ports in wb6 and 7

* moved modem's gpios info to actual usb node

* added default state to modem's usb node

* modem_usb: port2 in wb6.x; port3 in wb6.7+
taraant pushed a commit that referenced this pull request Jul 29, 2025
* wb7: defined proper modem's gpios and usb-soc addr

* binded wbc-modem usb ports in wb6 and 7

* moved modem's gpios info to actual usb node

* added default state to modem's usb node

* modem_usb: port2 in wb6.x; port3 in wb6.7+
taraant pushed a commit that referenced this pull request Oct 31, 2025
* wb7: defined proper modem's gpios and usb-soc addr

* binded wbc-modem usb ports in wb6 and 7

* moved modem's gpios info to actual usb node

* added default state to modem's usb node

* modem_usb: port2 in wb6.x; port3 in wb6.7+
taraant pushed a commit that referenced this pull request Oct 31, 2025
* wb7: defined proper modem's gpios and usb-soc addr

* binded wbc-modem usb ports in wb6 and 7

* moved modem's gpios info to actual usb node

* added default state to modem's usb node

* modem_usb: port2 in wb6.x; port3 in wb6.7+
taraant pushed a commit that referenced this pull request Oct 31, 2025
* wb7: defined proper modem's gpios and usb-soc addr

* binded wbc-modem usb ports in wb6 and 7

* moved modem's gpios info to actual usb node

* added default state to modem's usb node

* modem_usb: port2 in wb6.x; port3 in wb6.7+
taraant pushed a commit that referenced this pull request Apr 14, 2026
* wb7: defined proper modem's gpios and usb-soc addr

* binded wbc-modem usb ports in wb6 and 7

* moved modem's gpios info to actual usb node

* added default state to modem's usb node

* modem_usb: port2 in wb6.x; port3 in wb6.7+
taraant pushed a commit that referenced this pull request Apr 14, 2026
* wb7: defined proper modem's gpios and usb-soc addr

* binded wbc-modem usb ports in wb6 and 7

* moved modem's gpios info to actual usb node

* added default state to modem's usb node

* modem_usb: port2 in wb6.x; port3 in wb6.7+
taraant pushed a commit that referenced this pull request Apr 14, 2026
* wb7: defined proper modem's gpios and usb-soc addr

* binded wbc-modem usb ports in wb6 and 7

* moved modem's gpios info to actual usb node

* added default state to modem's usb node

* modem_usb: port2 in wb6.x; port3 in wb6.7+
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants