Rene Straub
9b74a71d41
backup commit
2021-01-13 16:41:40 +01:00
Rene Straub
e8475b4f80
hw25: swap mac addresses to reflect port numbering
2020-12-15 09:28:30 +01:00
Rene Straub
088d4c7ddf
hw21/26: remove trailing whitespaces
2020-12-10 15:02:37 +01:00
Rene Straub
3b18df525d
hw25: handle gpio variants
2020-12-02 08:25:07 +01:00
Rene Straub
6ca8df40e6
hw25: use lower (2nd) ethernet port
2020-11-27 19:54:04 +01:00
Rene Straub
6f10e899b1
hw25: fix io pin muxing for 2nd ethernet rmii
2020-11-27 19:49:23 +01:00
Rene Straub
e85e9ffa83
hw25: add variant handling
...
get variant information from product descriptor
configure device-tree accordingly
2020-11-27 15:49:52 +01:00
Rene Straub
0330a6b94f
hw25: add start reason detection
2020-11-27 15:46:39 +01:00
Rene Straub
7e9ca6d8fa
hw25: add methods for dio/serial PD entries
2020-11-27 15:42:23 +01:00
Rene Straub
f5b16d4cf7
hw21, 26: suppress power on with ignition off
...
power down system in SPL when ignition is not active on a
power-on start.
2020-11-18 16:49:50 +01:00
René Straub
f82ac7239a
hw21,26: add start/wakeup reason detection logic ( #58 )
...
Move detection logic before PMIC rails init
Add detection logic in hw21/26
Detect start events from pmic
Co-authored-by: Rene Straub <rene.straub@netmodule.com>
Reviewed-on: https://git.netmodule.intranet/nmrouter/u-boot/pulls/58
2020-11-09 10:13:45 +01:00
Rene Straub
dc6ed546db
hw25: take USB/SD converter out of reset
2020-10-20 07:51:47 +02:00
Rene Straub
1de7ebd031
hw25: enable rx function for IO_IN[0..3] gpios
2020-10-19 16:50:27 +02:00
Rene Straub
d3f9300741
hw25: add board type detection
2020-10-19 16:49:35 +02:00
Rene Straub
50dbe9d830
hw25: fix Ethernet phy ids
2020-10-16 21:19:10 +02:00
Rene Straub
9f0dd0d481
Review, minor changes
2020-10-06 08:49:41 +02:00
Nicolas Gugger
c8a4189cd1
hw25: modified comment
2020-09-10 16:33:03 +02:00
Nicolas Gugger
29a9c27aa3
hw25: updated board and mux - ready for review
2020-09-10 15:49:58 +02:00
Nicolas Gugger
14cbc05115
hw25: cleaned up board and mux
2020-09-09 15:40:21 +02:00
Nicolas Gugger
2bc5815cb6
hw25: muxing intermediate save
2020-09-08 16:31:34 +02:00
Nicolas Gugger
13b003ae3b
hw25: remove shield support
2020-09-08 14:24:28 +02:00
Nicolas Gugger
1ac538b956
hw25: initial setup based on hw24
2020-09-08 14:07:21 +02:00
Rene Straub
f89b5527b7
hw21,26: set hw type in device-tree
...
- hardware type is stored as string under
/proc/device-tree/nm,carrierboard,type
2020-08-17 16:57:42 +02:00
Rene Straub
08e8a21515
hw21: fix RTC trimming
...
- commit 7336361d5c broke PMIC RTC trim for hw21
- fixed hw type detection in init_bd_spl()
2020-08-17 11:24:56 +02:00
Rene Straub
9b04a8130e
hw26: add factory reset function
...
- check rs232 for break condition duration to invoke
factory reset or recovery boot. same logic as reset button.
- check rs232 break condition followed by command
- 'f': factory reset
- 'r': recovery boot
2020-08-13 13:53:38 +02:00
Lucien Mueller
93a35c7311
nmhw21: deactivate rs232 reset.
...
This makes it possible to boot normaly with disconnected uart line.
Previously the system booted into recovery in that case.
BugzID: 65200
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2020-08-07 10:30:55 +02:00
Rene Straub
567a630018
hw21,hw26: remove ATECC test function
2020-06-26 16:23:40 +02:00
Rene Straub
e2bf817634
nmhw21,26: fix incorrect indentation
2020-06-15 16:00:47 +02:00
Rene Straub
e0f24ed684
nmhw21,26: change sim_sel to timepulse
...
gpio2_16 is re-defined as timepulse input on hw26.
On hw21 it was the non-working SIM_SEL_N.
Mux config changed, keeping pin input.
2020-06-15 15:08:56 +02:00
Rene Straub
7336361d5c
nmhw21,26: init pmic based on hw type
2020-06-15 14:18:32 +02:00
Rene Straub
a02c9b9da3
nmhw21,26: getting hardware type from BD
...
this is the precursor to make the bootloader hw26 aware.
2020-06-15 13:45:51 +02:00
Rene Straub
f51b3b4fc3
nrhw: add board descriptor hw_type support
2020-06-15 13:33:46 +02:00
René Straub
7b1000b59d
nmhw21: board: add user reset option via rs232
...
allow invoking factory reset and recovery boot via:
- uart break, followed by command ('r', 'f')
- using uart rxd as reset line
Co-authored-by: Rene Straub <rene.straub@netmodule.com>
Reviewed-by: Patrick Zysset <patrick.zysset@netmodule.com>
2020-06-08 16:15:27 +02:00
Marcel Reichmuth
a3fd0500ec
nmhw21: sja1105: allow max length ethernet frames when using vlan tagging
...
Increase switch MTU size from 1518 up to 1522 for all ports.
Configuration reference:
repo: git.netmodule.intranet/hancock/nmhw-sja1105-configs
commit id: c20a8a3d87223f8fdbdcc60173ee11ec0514ad1d
BugzID: 61914, 57376
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2020-03-20 02:09:11 +01:00
Rene Straub
2844abe1c2
nrhw20,24: board: respect ngpios entry
...
determine number of gpio entries in ft_set_gpio_name()
BugzId: 60387
2020-03-20 02:06:09 +01:00
Rene Straub
a583bb6eea
nmhw21: fct_atecc: add factory test for ATECC chip
...
BugzID: 61904
2020-03-20 02:04:55 +01:00
Rene Straub
ce70a04c33
nrhw: sync with NRSW, dualcan-passive shield fixes
...
BugzId: 61778
2020-02-27 14:10:43 +01:00
Rene Straub
41742d2865
nrhw: cleanup, let reset reason check in SPL
2020-02-27 07:23:13 +01:00
Rene Straub
7c3defb4e0
nrhw: enable dtb entries for passive can shield
2019-12-19 07:44:34 +01:00
René Straub
3274638d7d
nrhw: support dual can passive shield ( #38 )
2019-12-12 12:13:23 +01:00
Rene Straub
7620f09ce4
nrhw: fix control pins for dual-can shield
...
- control io were swapped
- termination was applied to wrong port
BugzId: 60563
2019-12-12 09:20:44 +01:00
Lucien Mueller
a93f6f3874
nmhw21: sync ui leds with onboard leds.
...
BugzID: 59055
Signed-off-by: Lucien Mueller <lucien.mueller@netmodule.com>
2019-11-29 16:02:02 +01:00
Rene Straub
e940bb1802
am335x: add NRSW support for nmhw[20,21,24]
...
- NRSW board features
- memory layout update
- boot configuration update
- general cleanup
BugzID: 60384
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2019-11-29 14:08:31 +01:00
Rene Straub
0530de83a0
nmhw24: remove debug print from ft_set_gpio_name()
2019-11-16 16:28:14 +01:00
Rene Straub
0cde66a780
nmhw24: configure com/io shield gpios in dtb
...
when a COM/IO shield is detected, its two IOs
are given names in the gpio section so that they
are accessible from Linux gpio chardev.
BugzId: 60150
2019-11-16 13:17:11 +01:00
Rene Straub
19271e52e9
nrhw20: general cleanup of board files
2019-11-01 12:26:31 +01:00
Rene Straub
64a2a57636
nmhw21: general cleanup of board files
2019-10-30 19:41:53 +01:00
Rene Straub
ace146330e
nmhw24: don't enable uart0 in DTS by default
...
- when using CAN shield, uart0 must not be enabled or I/O
pins are locked by uart.
- this was a backport from NRSW that has to be checked
2019-10-24 09:17:11 +02:00
Rene Straub
bb120c7271
nmhw24: align board file with nrsw implementation
2019-10-10 17:54:08 +02:00
Rene Straub
44ad609219
nmhw: update board descriptor tags
...
- add missing tags
- fix documentation errors
2019-10-10 13:29:42 +02:00