mirror of
https://github.com/Fishwaldo/build.git
synced 2025-04-11 00:21:24 +00:00
AR-1 - Adding support category for distributions AR-4 - Remove Allwinner legacy AR-5 - Drop Udoo family and move Udoo board into newly created imx6 family AR-9 - Rename sunxi-next to sunxi-legacy AR-10 - Rename sunxi-dev to sunxi-current AR-11 - Adding Radxa Rockpi S support AR-13 - Rename rockchip64-default to rockchip64-legacy AR-14 - Add rockchip64-current as mainline source AR-15 - Drop Rockchip 4.19.y NEXT, current become 5.3.y AR-16 - Rename RK3399 default to legacy AR-17 - Rename Odroid XU4 next and default to legacy 4.14.y, add DEV 5.4.y AR-18 - Add Odroid N2 current mainline AR-19 - Move Odroid C1 to meson family AR-20 - Rename mvebu64-default to mvebu64-legacy AR-21 - Rename mvebu-default to mvebu-legacy AR-22 - Rename mvebu-next to mvebu-current AR-23 - Drop meson64 default and next, current becomes former DEV 5.3.y AR-24 - Drop cubox family and move Cubox/Hummingboard boards under imx6 AR-26 - Adjust motd AR-27 - Enabling distribution release status AR-28 - Added new GCC compilers AR-29 - Implementing Ubuntu Eoan AR-30 - Add desktop packages per board or family AR-31 - Remove (Ubuntu/Debian) distribution name from image filename AR-32 - Move arch configs from configuration.sh to separate arm64 and armhf config files AR-33 - Revision numbers for beta builds changed to day_in_the_year AR-34 - Patches support linked patches AR-35 - Break meson64 family into gxbb and gxl AR-36 - Add Nanopineo2 Black AR-38 - Upgrade option from old branches to new one via armbian-config AR-41 - Show full timezone info AR-43 - Merge Odroid N2 to meson64 AR-44 - Enable FORCE_BOOTSCRIPT_UPDATE for all builds
175 lines
3.9 KiB
Diff
175 lines
3.9 KiB
Diff
diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts
|
|
index 6246d3ef..a2b6e0b2 100644
|
|
--- a/arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts
|
|
+++ b/arch/arm/boot/dts/sun8i-h3-nanopi-neo-air.dts
|
|
@@ -75,10 +75,69 @@
|
|
|
|
wifi_pwrseq: wifi_pwrseq {
|
|
compatible = "mmc-pwrseq-simple";
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&wifi_en_npi>;
|
|
reset-gpios = <&r_pio 0 7 GPIO_ACTIVE_LOW>; /* PL7 */
|
|
+ post-power-on-delay-ms = <200>;
|
|
};
|
|
+ rfkill_bt {
|
|
+ compatible = "rfkill-gpio";
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&bt_pwr_pin>;
|
|
+ reset-gpios = <&pio 6 13 GPIO_ACTIVE_HIGH>; /* PG13 */
|
|
+ clocks = <&osc32k>;
|
|
+ clock-frequency = <32768>;
|
|
+ rfkill-name = "sunxi-bt";
|
|
+ rfkill-type = "bluetooth";
|
|
+ };
|
|
+
|
|
+ cam_xclk: cam-xclk {
|
|
+ #clock-cells = <0>;
|
|
+ compatible = "fixed-clock";
|
|
+ clock-frequency = <24000000>;
|
|
+ clock-output-names = "cam-xclk";
|
|
+ };
|
|
+
|
|
+ reg_cam_avdd: cam-avdd {
|
|
+ compatible = "regulator-fixed";
|
|
+ regulator-name = "cam500b-avdd";
|
|
+ regulator-min-microvolt = <2800000>;
|
|
+ regulator-max-microvolt = <2800000>;
|
|
+ vin-supply = <®_vcc3v3>;
|
|
+ };
|
|
+
|
|
+ reg_cam_dovdd: cam-dovdd {
|
|
+ compatible = "regulator-fixed";
|
|
+ regulator-name = "cam500b-dovdd";
|
|
+ regulator-min-microvolt = <1800000>;
|
|
+ regulator-max-microvolt = <1800000>;
|
|
+ vin-supply = <®_vcc3v3>;
|
|
+ };
|
|
+
|
|
+ reg_cam_dvdd: cam-dvdd {
|
|
+ compatible = "regulator-fixed";
|
|
+ regulator-name = "cam500b-dvdd";
|
|
+ regulator-min-microvolt = <1500000>;
|
|
+ regulator-max-microvolt = <1500000>;
|
|
+ vin-supply = <®_vcc3v3>;
|
|
+ };
|
|
+
|
|
};
|
|
|
|
+&pio {
|
|
+ bt_pwr_pin: bt_pwr_pin@0 {
|
|
+ pins = "PG13";
|
|
+ function = "gpio_out";
|
|
+ };
|
|
+};
|
|
+
|
|
+&r_pio {
|
|
+ wifi_en_npi: wifi_en_pin {
|
|
+ pins = "PL7";
|
|
+ function = "gpio_out";
|
|
+ };
|
|
+ };
|
|
+
|
|
&mmc0 {
|
|
vmmc-supply = <®_vcc3v3>;
|
|
bus-width = <4>;
|
|
@@ -103,12 +162,100 @@
|
|
};
|
|
};
|
|
|
|
+&mmc2 {
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&mmc2_8bit_pins>;
|
|
+ vmmc-supply = <®_vcc3v3>;
|
|
+ bus-width = <8>;
|
|
+ non-removable;
|
|
+ cap-mmc-hw-reset;
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&mmc2_8bit_pins {
|
|
+ /* Increase drive strength for DDR modes */
|
|
+ drive-strength = <40>;
|
|
+ /* eMMC is missing pull-ups */
|
|
+ bias-pull-up;
|
|
+};
|
|
+
|
|
+&csi {
|
|
+ status = "okay";
|
|
+
|
|
+ port {
|
|
+ #address-cells = <1>;
|
|
+ #size-cells = <0>;
|
|
+
|
|
+ /* Parallel bus endpoint */
|
|
+ csi_from_ov5640: endpoint {
|
|
+ remote-endpoint = <&ov5640_to_csi>;
|
|
+ bus-width = <8>;
|
|
+ data-shift = <2>;
|
|
+ hsync-active = <1>; /* Active high */
|
|
+ vsync-active = <0>; /* Active low */
|
|
+ data-active = <1>; /* Active high */
|
|
+ pclk-sample = <1>; /* Rising */
|
|
+ };
|
|
+ };
|
|
+};
|
|
+
|
|
+&i2c2 {
|
|
+ status = "okay";
|
|
+ ov5640: camera@3c {
|
|
+ compatible = "ovti,ov5640";
|
|
+ reg = <0x3c>;
|
|
+ clocks = <&cam_xclk>;
|
|
+ clock-names = "xclk";
|
|
+
|
|
+ reset-gpios = <&pio 4 14 GPIO_ACTIVE_LOW>;
|
|
+ powerdown-gpios = <&pio 4 15 GPIO_ACTIVE_HIGH>;
|
|
+ AVDD-supply = <®_cam_avdd>;
|
|
+ DOVDD-supply = <®_cam_dovdd>;
|
|
+ DVDD-supply = <®_cam_dvdd>;
|
|
+
|
|
+ port {
|
|
+ ov5640_to_csi: endpoint {
|
|
+ remote-endpoint = <&csi_from_ov5640>;
|
|
+ bus-width = <8>;
|
|
+ data-shift = <2>;
|
|
+ hsync-active = <1>; /* Active high */
|
|
+ vsync-active = <0>; /* Active low */
|
|
+ data-active = <1>; /* Active high */
|
|
+ pclk-sample = <1>; /* Rising */
|
|
+ };
|
|
+ };
|
|
+ };
|
|
+};
|
|
+
|
|
+&i2c2_pins {
|
|
+ bias-pull-up;
|
|
+};
|
|
+
|
|
+&ehci0 {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&ohci0 {
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&uart0 {
|
|
pinctrl-names = "default";
|
|
pinctrl-0 = <&uart0_pa_pins>;
|
|
status = "okay";
|
|
};
|
|
|
|
+&uart3 {
|
|
+ pinctrl-names = "default";
|
|
+ pinctrl-0 = <&uart3_pins>, <&uart3_rts_cts_pins>;
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
+&usb_otg {
|
|
+ dr_mode = "peripheral";
|
|
+ status = "okay";
|
|
+};
|
|
+
|
|
&usbphy {
|
|
/* USB VBUS is always on */
|
|
status = "okay";
|