Commit Graph

42 Commits

Author SHA1 Message Date
skrll
cfabad25c9 More de-reinoud-ification 2014-10-02 12:12:55 +00:00
reinoud
d117d7fcb7 Accept the Odroid specific tweaks for selecting clkout for external USB
devices on the Odroid boards
2014-09-30 14:24:26 +00:00
reinoud
dbd2779418 EXYNOS4 and EXYNOS5 are now exclusive in odroid_machdep.c 2014-09-26 19:27:05 +00:00
reinoud
375e115510 Remove KASSERT that bugs compilation 2014-09-26 19:03:24 +00:00
reinoud
52dc32dbd9 Redo the magic of console selection 2014-09-26 18:59:29 +00:00
reinoud
40797a03eb Decouple sscom console choice from Exynos SoC ID 2014-09-26 18:26:24 +00:00
reinoud
8c12cb8ada Add the not connected bits
While here, tweak the usb3503 attachment
2014-09-24 20:38:33 +00:00
reinoud
d6858c32bd Refactor usb hub attachment making it easier to read 2014-09-21 20:49:31 +00:00
reinoud
b1ed2b886e Xuhost bits for Exynos5 are located in the two top bits 2014-09-09 21:21:22 +00:00
reinoud
855280cfa9 Add i2c bits for gpio to the connected GPIO pins for Exynos5 2014-09-03 15:24:52 +00:00
reinoud
cb766d6720 Implement CPU speed control for Exynos4 and Exynos5 CPUs using APLL frequency
adjustment.
2014-08-28 18:02:36 +00:00
reinoud
3a135a96ea Make it compile without DIAGNOSTIC 2014-08-26 20:33:35 +00:00
reinoud
f2e3a5e0ac Enable Xuhost gpio pins; they are the same on Exynos5 series. 2014-08-25 16:56:14 +00:00
reinoud
50d38267fb Relax the timing around the usb lan9730 powercycle. 2014-08-25 16:49:43 +00:00
reinoud
5d42d105e8 Implement i2c using gpio for Exynos5 and Odroid-XU 2014-08-19 16:18:15 +00:00
reinoud
bcba9fe629 Allow bits to be used for the usb hub on Odroid-XU 2014-08-14 15:57:51 +00:00
reinoud
727a52919d Add gpio not connected definitions for Exynos5
While here, increase delay around lan9730 powercycle timing to improve its
reset.
2014-08-14 15:44:42 +00:00
reinoud
948b1351c2 Save arguments from uboot at the very beginning in odroid_start.S supporting
both the `bootm' as the `go' method. While here, also implement the mac
address passing and parsing for the usmsc0 device.
2014-08-04 18:14:43 +00:00
reinoud
e1969853b9 Reorder code so bootconfig is initialized at one place 2014-08-04 11:32:27 +00:00
reinoud
a53f329a3b Remove old bootargs hack; now just rely on the common `BOOT_ARGS' config
variable if defined.
2014-08-04 11:30:10 +00:00
matt
7fe521e026 Update comment. 2014-06-15 20:14:41 +00:00
reinoud
1c2bfcff1e Implement Lan9730 powerycle for Exynos4 to make it attach; its not that
trivial though as it relies on talking iic to the pmu and enabling lan_power
pin.

Some pins for the Odroid-XU boards have been added too.
2014-06-06 14:42:26 +00:00
reinoud
eb4953ffed Provide iic logic and bits for Odroid-U's exynos i2c interfaces 2014-05-21 12:24:11 +00:00
reinoud
95667db81a Change hexidecimal bit notation into binary for easier modifying 2014-05-15 15:35:37 +00:00
reinoud
7a6c2dd2bb DMA is initialized later in the bootstrap. No need for this comment 2014-05-15 15:31:10 +00:00
reinoud
6363fb911b This can't be right; must be a c&p bug 2014-05-15 15:28:26 +00:00
reinoud
4bbeac14dd Revisit gpio and revisit register file mapping. The additional register files
are now mapped behind the origional register file.

The gpio channel GPZ is mapped over I2S0 in the separate audio register file
and were both abusively mapped over I2C0 in the main register file!

While here, delay the gpio bootstrap till on attachment. We could hasten it in
the odroid_machdep.c if needed. Also make the gpio code more resilliant and
allow booting correctly without any GPIO bits defined/available.
2014-05-14 09:03:09 +00:00
reinoud
7e3e102eb9 Get the Odroid-U3 USB hub working! It now attaches and /lists all its children
like mouse etc.
2014-05-10 22:24:32 +00:00
reinoud
9f69e282d7 Implement evbarm_device_register_post_config() hook for odroid and its
decendents. This allows post attach actions on every level of the machine
support.
2014-05-10 20:24:06 +00:00
reinoud
0c655d2ae4 Add the missing ETC0, ETC6, ETC7, ETC8 `gpio' registers. They are special in
that they can't be set/unset nor configured. The only changeable parameters
are the pullups PUD and the DRV driving strength. They however fit the same
structure as the rest of the GPIOs and are used as such.
2014-05-10 19:31:00 +00:00
reinoud
b0897aba81 refactor pin setting in odroid_device_register() to remove an indent
preventing potentional lots of line breaks due to the 80 char line limit.
2014-05-10 11:03:45 +00:00
reinoud
18a9db9abf Rename blinkled to heartbeat since that is its function 2014-05-09 22:20:41 +00:00
reinoud
bea9e0590d Rename led0 to led1 to be consistent with the linux distro 2014-05-09 22:02:10 +00:00
reinoud
5ad8bd1845 Implement gpio framework for the Samsung Exynos series.
Note that only the Exynos4 gpio registers are defined now and provision is
taken to allow for seamlessness adding of Exynos5 values.
2014-05-09 21:49:43 +00:00
matt
7c2e5bb200 Use the conspeed and div/frac from the uart to figure out the frequency
for the console.   XXX until we actually compute from the chip clocks.
2014-04-19 19:47:55 +00:00
reinoud
37a2323bcc Oops, i forgot to commit this patch on the `teaching sscom to use attach with
bus_space_handle_t'
2014-04-18 14:17:11 +00:00
reinoud
30e306bd55 Make the PoP detection both EXYNOS4 defined and when running on a generic
kernel, check if we're on a EXYNOS4 architecture to prevent mishaps.
2014-04-15 20:36:07 +00:00
reinoud
18444ed2d1 For Exynos4 platforms, re-implement PoP detection so we can detect 1Gb
systems.
2014-04-14 19:45:40 +00:00
reinoud
d8b6e743da Remove old trustzone headerfile inclusion 2014-04-13 20:53:35 +00:00
reinoud
5062dc67f8 Remove trustzone firmware indirect calls by explicit calling the exynos
routines in exynos_soc.c

While here, also remove unused variable conaddr
2014-04-13 20:45:25 +00:00
skrll
5fc9196ff5 Remove a silly debug printf 2014-04-13 06:18:51 +00:00
matt
2696853fca Add initial support for the ODROID-XU and ODROID-U3.
Still a work in progress.  Started by nick and reinoud.
2014-04-13 02:26:26 +00:00