#21892: Oxnas pincontrol (GPIO) does not work
------------------------+-----------------------------------------
  Reporter:  anonymous  |      Owner:  developers
      Type:  defect     |     Status:  new
  Priority:  normal     |  Milestone:
 Component:  kernel     |    Version:  Trunk
Resolution:             |   Keywords:  oxnas ox820 gpio pincontrol
------------------------+-----------------------------------------

Comment (by anonymous):

 So - next step:

 Original 2.6 kernel oxnas_bitbash driver has this "sixth" line

 {{{
 writel(readl(GPIO_B_INPUT_DEBOUNCE_ENABLE) & ~mask,
 GPIO_B_INPUT_DEBOUNCE_ENABLE);
 }}}

 It accesses memory at location 0x44100024 and value at this location is
 0003ffff after cold booting to U-Boot or after full boot with 4.1.16
 kernel. Value seems not to change and RTC does not work.

 After booting original 2.6 kernel value is set to 0003f9ff and with this
 value set booting 4.1.16 kernel will have RTC working.

 Is this somehow related to DTB? Can 4.1.16 kernel bitbash driver set this
 value if there is some node setting in DTB? Or does this need something
 changed in the driver itself?

--
Ticket URL: <https://dev.openwrt.org/ticket/21892#comment:21>
OpenWrt <http://openwrt.org>
Opensource Wireless Router Technology
_______________________________________________
openwrt-tickets mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-tickets

Reply via email to