The NetBSD Project

CVS log for src/sys/arch/arm/dts/sun50i-a64.dtsi

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / arm / dts

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.15: download - view: text, markup, annotated - select for diffs
Sun Nov 7 17:11:43 2021 UTC (3 years, 1 month ago) by jmcneill
Branches: MAIN
CVS tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +2 -62 lines
arm: dts: adapt for dts-5.15

Revision 1.11.2.3: download - view: text, markup, annotated - select for diffs
Mon May 18 18:45:40 2020 UTC (4 years, 6 months ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE
Diff to: previous 1.11.2.2: preferred, colored; branchpoint 1.11: preferred, colored; next MAIN 1.12: preferred, colored
Changes since revision 1.11.2.2: +10 -1 lines
Pull up following revision(s) (requested by riastradh in ticket #912):

	sys/arch/arm/dts/sun50i-a64.dtsi: revision 1.14
	sys/arch/evbarm/conf/GENERIC64: revision 1.116
	sys/arch/evbarm/conf/GENERIC64: revision 1.131
	sys/arch/arm/sunxi/sun50i_a64_ccu.c: revision 1.21
	sys/arch/arm/sunxi/sun50i_a64_ccu.c: revision 1.22
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.10
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.11
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.12
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.3
	sys/arch/arm/sunxi/sun8i_crypto.h: revision 1.1
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.4
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.5
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.6
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.7
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.8
	sys/arch/arm/sunxi/sun8i_crypto.c: revision 1.9
	sys/arch/arm/sunxi/files.sunxi: revision 1.67

Add crypto engine clock

Add SUNXI_CCU_NM_ROUND_DOWN to CE clock, fix pll parents to use 2X outputs

Add crypto engine block.

Draft driver for Allwinner Crypto Engine.
Found on, e.g., the Pinebook.

Only used for TRNG at the moment, but hooking it up to opencrypto(9)
shouldn't be too hard if anyone still cares about that these days.

The distribution of the alleged TRNG is very nonuniform distributed
seems to alternate between toward runs with exceptionally high
fractions of 0 bits and runs with exceptionally high fractions of 1
bits -- initially all my samples were mostly 0's, and then all my
samples were mostly 1's, and now I'm seeing more oscillation between
these runs.

So I've wired it up as RND_TYPE_UNKNOWN, not RND_TYPE_RNG (it will
immediately flunk our rngtest and be disabled), and I estimated it to
provide at most one bit of entropy per byte of data -- which may
still be optimistic.  I also added a sysctl node hw.sun8icryptoN.rng
to read out 1024-byte samples for analysis, and I left the driver
commented out in GENERIC64 for now.
(If anyone has contacts at Allwinner who can tell us about how the
alleged TRNG is supposed to work, please let me know!)

Reduce some duplicated bus_dma clutter.

Factor out some of the self-test logic used for debugging.

Add missing bus_dmamap_sync(POSTWRITE) while here.

Make sure ERESTART doesn't come flying out to userland.
I picked ERESTART to mean `all channels are occupied' because that's
what opencrypto(9) uses to decide whether to queue a request, but
it's not appropriate for sysctl(2) to return that.

Avoid a race between interruption and reacquisition of lock.
Otherwise, we would have leaked the memory in this case.

Tidy up comments.

Oops -- forgot to kmem_free.

Fix typo -- acknowledge interrupts _and_ errors.

Reduce entropy estimate for sun8icrypto TRNG.

NIST's SP800-90B entropy estimation tools put it at no more than .08
bits of entropy per byte of data(!), so estimate 100 bits of data per
bit of entropy.  This is probably not conservative enough -- the NIST
tools were written without knowledge of how this alleged TRNG works!
Knowledge of the physics of how the TRNG is supposed to work could
probably enable a better job at predicting the outputs.
While here, bump the size of data we can sample directly with sysctl
to 4096 bytes.

Enable sun8icrypto in GENERIC64.

But set its entropy estimate to zero until we have a better idea of
how it works.  Can't really hurt this way unless sun8icrypto is
maliciously dependent on all other inputs to the entropy pool, which
seems unlikely.

Fix (presently harmless) psato.

Don't overwrite cy_root_node; use cy_trng_node as intended.

Fix previous brainfart.

Don't use the uninitialized trng node as the root node -- derp.
Instead, use the root node as the root node, and initialize the trng
node here.

Revision 1.9.2.3: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:33 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.9.2.2: preferred, colored; branchpoint 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9.2.2: +38 -0 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.9.2.2: download - view: text, markup, annotated - select for diffs
Wed Apr 8 14:07:28 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.9.2.1: preferred, colored; branchpoint 1.9: preferred, colored
Changes since revision 1.9.2.1: +10 -1 lines
Merge changes from current as of 20200406

Revision 1.14: download - view: text, markup, annotated - select for diffs
Mon Dec 9 04:40:50 2019 UTC (5 years ago) by riastradh
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +10 -1 lines
Add crypto engine block.

Revision 1.11.2.2: download - view: text, markup, annotated - select for diffs
Mon Nov 18 19:31:00 2019 UTC (5 years ago) by martin
Branches: netbsd-9
CVS tags: netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1
Diff to: previous 1.11.2.1: preferred, colored; branchpoint 1.11: preferred, colored
Changes since revision 1.11.2.1: +31 -1 lines
Pull up following revision(s) (requested by jmcneill in ticket #437):

	sys/arch/arm/dts/sun50i-a64-sopine-baseboard.dts: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu_div.c: revision 1.6
	sys/arch/arm/dts/sun50i-a64.dtsi: revision 1.13
	sys/arch/arm/dts/sun50i-a64-pine64.dts: revision 1.2
	sys/arch/arm/sunxi/sunxi_dwhdmi.c: revision 1.4
	sys/arch/arm/dts/sun50i-a64-pine64-plus.dts: revision 1.3
	sys/arch/arm/sunxi/sunxi_i2s.c: revision 1.7
	sys/arch/arm/sunxi/sun50i_a64_ccu.c: revision 1.14

Add support for A64 I2S clocks.
Add A64 HDMI audio support.
Enable HDMI audio support on Pine64, Pine64+, and Pine64 LTS boards.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Sun Nov 17 17:35:10 2019 UTC (5 years ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +31 -1 lines
Enable HDMI audio support on Pine64, Pine64+, and Pine64 LTS boards.

Revision 1.11.2.1: download - view: text, markup, annotated - select for diffs
Sun Nov 10 13:14:41 2019 UTC (5 years ago) by martin
Branches: netbsd-9
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +9 -1 lines
Pull up following revision(s) (requested by jmcneill in ticket #409):

	sys/arch/arm/dts/sun50i-a64.dtsi: revision 1.12

Fix PMU interrupt numbers on Allwinner A64.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Nov 8 11:12:09 2019 UTC (5 years, 1 month ago) by jmcneill
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +9 -1 lines
Fix PMU interrupt numbers on Allwinner A64.

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:53 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -68 lines
Sync with HEAD

Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Jun 6 23:19:45 2019 UTC (5 years, 6 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-20190609, netbsd-9-base
Branch point for: netbsd-9
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +1 -53 lines
Remove audio related nodes (they are present in mainline dts now)

Revision 1.4.4.2: download - view: text, markup, annotated - select for diffs
Sat Jan 26 22:00:00 2019 UTC (5 years, 10 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.4.4.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.4.1: +1 -16 lines
Sync with HEAD

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Jan 22 15:28:45 2019 UTC (5 years, 10 months ago) by jmcneill
Branches: MAIN
CVS tags: pgoyette-compat-20190127, isaki-audio2-base, isaki-audio2
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -16 lines
Update for 4.20.3 dts changes

Revision 1.4.4.1: download - view: text, markup, annotated - select for diffs
Mon May 21 04:35:59 2018 UTC (6 years, 6 months ago) by pgoyette
Branches: pgoyette-compat
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +75 -27 lines
Sync with HEAD

Revision 1.9: download - view: text, markup, annotated - select for diffs
Fri May 11 00:00:04 2018 UTC (6 years, 6 months ago) by jmcneill
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521
Branch point for: phil-wifi
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +5 -1 lines
Add cpu0 clock

Revision 1.8: download - view: text, markup, annotated - select for diffs
Thu May 10 00:04:46 2018 UTC (6 years, 7 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +53 -1 lines
Add audio codec nodes

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun May 6 10:43:32 2018 UTC (6 years, 7 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +16 -1 lines
Add pwm node

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat May 5 13:31:35 2018 UTC (6 years, 7 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +13 -1 lines
Add A64 thermal sensor node

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri May 4 23:03:41 2018 UTC (6 years, 7 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +1 -36 lines
Upstream dts specifies emac for sun50i-a64 now

Revision 1.4.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:52 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.4.2.1: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.2.1: +77 -0 lines
update from HEAD

Revision 1.4.2.1
Thu Nov 30 21:36:45 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
FILE REMOVED
Changes since revision 1.4: +0 -77 lines
file sun50i-a64.dtsi was added on branch tls-maxphys on 2017-12-03 11:35:52 +0000

Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Nov 30 21:36:45 2017 UTC (7 years ago) by jmcneill
Branches: MAIN
CVS tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: tls-maxphys, pgoyette-compat
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +1 -31 lines
Switch to new emac bindings for H3 boards

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat Sep 9 12:05:28 2017 UTC (7 years, 2 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +31 -1 lines
Enable USB-OTG-EHCI and USB-OTG-OHCI controllers on Pine64+.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Sep 7 21:46:42 2017 UTC (7 years, 3 months ago) by jmcneill
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +14 -1 lines
Add simplefb stub for Allwinner A64

Revision 1.1: download - view: text, markup, annotated - select for diffs
Thu Sep 7 21:37:56 2017 UTC (7 years, 3 months ago) by jmcneill
Branches: MAIN
Enable ethernet on Pine64+

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>