| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134 |
- # Orange Pi Zero (H2+), the radio. Merged after files/kernel-common.config
- # (sunxi_defconfig + common + this). build-kernel.sh checks that every option
- # here ended up in the final .config with the requested value.
- CONFIG_LOCALVERSION="-opi0"
- # H2+ = H3 pin controllers and clocks; the R40 ones (also A10/A20 pinctrl)
- # and the display engine clocks are not needed
- CONFIG_PINCTRL_SUN8I_H3=y
- CONFIG_PINCTRL_SUN8I_H3_R=y
- CONFIG_SUN8I_H3_CCU=y
- CONFIG_SUN8I_R_CCU=y
- # CONFIG_PINCTRL_SUN4I_A10 is not set
- # CONFIG_SUN8I_R40_CCU is not set
- # CONFIG_SUN8I_DE2_CCU is not set
- # CPU supply: GPIO regulator on PL6 (reg_vdd_cpux in the mainline board file);
- # without it cpufreq-dt cannot scale the voltage
- CONFIG_REGULATOR_GPIO=y
- # SPI NOR flash on spi0 (sun6i driver serves the H3)
- CONFIG_SPI_SUN6I=y
- # ---- no PMIC: the board runs from fixed and GPIO regulators ----
- # CONFIG_MFD_AXP20X_I2C is not set
- # CONFIG_MFD_AXP20X_RSB is not set
- # CONFIG_REGULATOR_AXP20X is not set
- # CONFIG_AXP20X_POWER is not set
- # CONFIG_CHARGER_AXP20X is not set
- # CONFIG_BATTERY_AXP20X is not set
- # CONFIG_AXP20X_ADC is not set
- # CONFIG_INPUT_AXP20X_PEK is not set
- # ---- storage ----
- # no SATA on the H2+
- # CONFIG_ATA is not set
- # Module, not built in: armbian-zram-config loads it with module parameters
- # (number of devices for swap and armbian-ramlog), which a built-in driver
- # would not get.
- CONFIG_ZRAM=m
- # armbian-zram-config sets the algorithm from SWAP_ALGORITHM in
- # /etc/default/armbian-zram-config (lzo, lzo-rle, lz4 or zstd depending on
- # the Armbian version); writing one the kernel lacks fails. Cover all four.
- CONFIG_ZRAM_BACKEND_LZ4=y
- CONFIG_ZRAM_BACKEND_ZSTD=y
- CONFIG_ZRAM_BACKEND_LZO=y
- CONFIG_CRYPTO_LZ4=y
- CONFIG_CRYPTO_ZSTD=y
- # ---- networking ----
- # Module, not built in: built in, it creates dummy0 at boot (numdummies=1),
- # an interface nobody configured.
- CONFIG_DUMMY=m
- CONFIG_USB_NET_DRIVERS=y
- CONFIG_USB_USBNET=y
- CONFIG_USB_NET_CDCETHER=y
- CONFIG_USB_RTL8152=y
- # ---- Wi-Fi: XR819 (the out-of-tree xradio module needs these) ----
- # Built in; xradio itself is always a module (out of tree, firmware from the
- # rootfs). Built-in cfg80211 can't read regulatory.db before the rootfs is
- # mounted and logs that once; it loads the file when a country is set.
- CONFIG_WIRELESS=y
- CONFIG_WLAN=y
- CONFIG_CFG80211=y
- CONFIG_CFG80211_WEXT=y
- CONFIG_MAC80211=y
- CONFIG_MAC80211_LEDS=y
- CONFIG_RFKILL=y
- CONFIG_CRYPTO_CCM=y
- CONFIG_CRYPTO_GCM=y
- CONFIG_CRYPTO_CMAC=y
- CONFIG_CRYPTO_AES=y
- CONFIG_CRYPTO_AES_ARM_BS=y
- CONFIG_PWRSEQ_SIMPLE=y
- # ---- audio (H3 analog codec on the 13-pin header) ----
- CONFIG_SND_SUN4I_CODEC=y
- CONFIG_SND_SUN8I_CODEC_ANALOG=y
- CONFIG_SND_SUN4I_I2S=y
- CONFIG_SND_SIMPLE_CARD=y
- CONFIG_SND_USB_AUDIO=y
- # Module, not built in: built in, the loopback card would always exist and
- # take a card index from the real ones.
- CONFIG_SND_ALOOP=m
- # A33 digital codec, S/PDIF: not on the H2+ board
- # CONFIG_SND_SUN8I_CODEC is not set
- # CONFIG_SND_SUN4I_SPDIF is not set
- # ---- USB OTG port: host and gadget ----
- CONFIG_USB_MUSB_HDRC=y
- CONFIG_USB_MUSB_SUNXI=y
- CONFIG_USB_GADGET=y
- CONFIG_USB_CONFIGFS=y
- CONFIG_USB_CONFIGFS_SERIAL=y
- CONFIG_USB_CONFIGFS_ACM=y
- CONFIG_USB_CONFIGFS_ECM=y
- CONFIG_USB_CONFIGFS_RNDIS=y
- # Modules, not built in: a built-in legacy gadget binds the only UDC at boot,
- # so only one could be built in and configfs gadgets could no longer be used.
- CONFIG_USB_G_SERIAL=m
- CONFIG_USB_ETH=m
- # ---- radio front panel ($PANEL_DIR, see boards/opi0.sh) ----
- # i2c-tiny-usb bridge used on the test rig
- CONFIG_I2C_TINY_USB=y
- # U2 key expander: TCA9539 via gpio-pca953x (INT on PA6), keys via gpio-keys;
- # built in, like the panel driver, so the keys need no module loading
- CONFIG_GPIO_PCA953X=y
- CONFIG_GPIO_PCA953X_IRQ=y
- CONFIG_GPIO_CDEV=y
- CONFIG_KEYBOARD_GPIO=y
- CONFIG_KEYBOARD_GPIO_POLLED=y
- CONFIG_INPUT_UINPUT=y
- # s1d13700-tca DRM driver, put into drivers/gpu/drm/tiny/ by build-kernel.sh
- # from $PANEL_DIR/driver and built in, so the panel exists before the root
- # filesystem is mounted and fbcon shows the boot log on it.
- CONFIG_DRM=y
- CONFIG_DRM_KMS_HELPER=y
- CONFIG_DRM_S1D13700_TCA=y
- CONFIG_DRM_FBDEV_EMULATION=y
- CONFIG_BACKLIGHT_CLASS_DEVICE=y
- CONFIG_FB=y
- CONFIG_FRAMEBUFFER_CONSOLE=y
- # CONFIG_FRAMEBUFFER_CONSOLE_DEFERRED_TAKEOVER is not set
- # 240x160 panel: 6x8 font gives 40x20 characters (fbcon=font:6x8)
- CONFIG_FONTS=y
- CONFIG_FONT_8x8=y
- CONFIG_FONT_8x16=y
- CONFIG_FONT_6x8=y
- # ---- no display output on this board: drop HDMI/display engine ----
- # CONFIG_DRM_SUN4I is not set
- # CONFIG_FB_SIMPLE is not set
- # CONFIG_BACKLIGHT_PWM is not set
|