Skip to content

Instantly share code, notes, and snippets.

@macromorgan
macromorgan / sun8i-v3s-anbernic.dts
Created June 15, 2023 19:04
Anbernic RG-Nano Devicetree
/dts-v1/;
/ {
#address-cells = <0x01>;
#size-cells = <0x01>;
interrupt-parent = <0x01>;
model = "Anbernic";
compatible = "anbernic\0allwinner,sun8i-v3s";
chosen {
From 803127622846e44ea2e55818bcf498493f470434 Mon Sep 17 00:00:00 2001
From: Chris Morgan <macromorgan@hotmail.com>
Date: Wed, 17 May 2023 17:26:16 -0500
Subject: [PATCH] package: Add interception package and activate for rk3326
Use the interception package to merge the gpio-keys and adc-joystick
input devices found in mainline Linux to avoid the need to have
an out of tree input driver.
Signed-off-by: Chris Morgan <macromorgan@hotmail.com>
@macromorgan
macromorgan / .config
Created April 9, 2023 00:51
aarch64 Kernel Config
#
# Automatically generated file; DO NOT EDIT.
# Linux/arm64 6.3.0-rc5 Kernel Configuration
#
CONFIG_CC_VERSION_TEXT="aarch64-linux-gnu-gcc (Ubuntu 11.3.0-1ubuntu1~22.04) 11.3.0"
CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=110300
CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=23800
@macromorgan
macromorgan / rk3588s-indiedroid-nova.dts
Last active April 27, 2023 16:17
Indiedroid Nova DTS (work in progress)
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/dts-v1/;
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/pinctrl/rockchip.h>
#include <dt-bindings/usb/pd.h>
#include "rk3588s.dtsi"
/ {
@macromorgan
macromorgan / bootlog.log
Created March 27, 2023 22:09
Indiedroid Nova Mainline
DDR V1.10 75d050770f typ 23/02/28-20:47:10
LPDDR4X, 2112MHz
channel[0] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
channel[1] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
channel[2] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
channel[3] BW=16 Col=10 Bk=8 CS0 Row=16 CS=1 Die BW=16 Size=1024MB
Manufacturer ID:0xff
CH0 RX Vref:29.7%, TX Vref:22.8%,0.0%
CH1 RX Vref:29.7%, TX Vref:23.8%,0.0%
CH2 RX Vref:28.5%, TX Vref:24.8%,0.0%
@macromorgan
macromorgan / 9tripod,rk3588s-9tripod-x3588s.dts
Created March 20, 2023 17:24
Indiedroid Nova Devicetree
/dts-v1/;
/ {
compatible = "9tripod,rk3588s-9tripod-x3588s\0rockchip,rk3588";
interrupt-parent = <0x01>;
#address-cells = <0x02>;
#size-cells = <0x02>;
model = "9Tripod X3588S Board";
aliases {
@macromorgan
macromorgan / 1up.dts
Created February 22, 2023 02:58
Arcade 1-Up
/dts-v1/;
/ {
#address-cells = <0x02>;
#size-cells = <0x02>;
compatible = "rockchip,rk3566-evb2-lp4x-v10\0rockchip,rk3566";
interrupt-parent = <0x01>;
model = "Rockchip RK3566 EVB2 LP4X V10 Board";
__symbols__ {
@macromorgan
macromorgan / u-boot.its
Created February 10, 2023 15:10
U-Boot Loadables Order for RK356x
/*
* Copyright (C) 2020 Rockchip Electronic Co.,Ltd
*
* Simple U-boot fit source file containing ATF/OP-TEE/U-Boot/dtb/MCU
*/
/dts-v1/;
/ {
@macromorgan
macromorgan / dmesg
Created January 4, 2023 23:54
rg35xx bootlogs
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.10.37 (flower@flower-B85M-D2V) (gcc version 4.7.3 20130328 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.04-20130415 - Linaro GCC 2013.04) ) #18 SMP PREEMPT Sat Dec 3 00:38:31 CST 2022
[ 0.000000] CPU: ARMv7 Processor [414fc091] revision 1 (ARMv7), cr=10c53c7d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: gs705a, model: Actions GS705A board
[ 0.000000] bootconsole [earlycon0] enabled
@macromorgan
macromorgan / rg35xx.dts
Created December 14, 2022 15:09
Device Tree for RG35XX
/dts-v1/;
/ {
#address-cells = <0x01>;
#size-cells = <0x01>;
compatible = "actions,gs705a\0actions,atm7059a";
interrupt-parent = <0x01>;
model = "Actions GS705A board";
chosen {