forked from armbian/build
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
JeteHome: update JetHub D2 dt file to cpu board rev1.3
Signed-off-by: Viacheslav Bocharov <[email protected]>
- Loading branch information
1 parent
1ab7357
commit b80ff2c
Showing
2 changed files
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
/* | ||
* Copyright (c) 2024 JetHome | ||
* Author: Viacheslav Bocharov <[email protected]> | ||
* | ||
* JetHub D2 rev 1.3 | ||
*/ | ||
|
||
/dts-v1/; | ||
|
@@ -230,15 +232,15 @@ | |
led-green { | ||
color = <LED_COLOR_ID_GREEN>; | ||
function = LED_FUNCTION_STATUS; | ||
gpios = <&gpio_ao GPIOAO_11 GPIO_ACTIVE_LOW>; | ||
gpios = <&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>; | ||
linux,default-trigger = "heartbeat"; | ||
panic-indicator; | ||
}; | ||
|
||
led-red { | ||
color = <LED_COLOR_ID_RED>; | ||
function = LED_FUNCTION_POWER; | ||
gpios = <&gpio GPIOH_5 GPIO_ACTIVE_LOW>; | ||
gpios = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>; | ||
default-state = "off"; | ||
}; | ||
|
||
|
@@ -355,7 +357,8 @@ | |
"RS485_TX", /* GPIOX_6 */ | ||
"RS485_RX", /* GPIOX_7 */ | ||
"", "", "", "", "", "", /* GPIOX_8 - GPIOX_13 */ | ||
"", "", "", /* GPIOX_14 - GPIOX_16 */ | ||
"", "", /* GPIOX_14 - GPIOX_15 */ | ||
"GPIO_EXPANDER_INT", /* GPIOX_16 */ | ||
"I2C_SDA_LCDBUS", /* GPIOX_17 */ | ||
"I2C_SCL_LCDBUS", /* GPIOX_18 */ | ||
""; /* GPIOX_19 */ | ||
|
@@ -384,7 +387,7 @@ | |
"MCU_RESET", /* GPIOAO_4 */ | ||
"POWER_GOOD", /* GPIOAO_5 */ | ||
"TF_3V3N_1V8_EN", /* GPIOAO_6 */ | ||
"GPIO_EXPANDER_INT", /* GPIOAO_7 */ | ||
"MCU_BOOT", /* GPIOAO_7 */ | ||
"MCU_UART_TX", /* GPIOAO_8 */ | ||
"MCU_UART_RX", /* GPIOAO_9 */ | ||
"BUTTON_USR", /* GPIOAO_10 */ | ||
|
@@ -531,7 +534,7 @@ | |
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
interrupt-parent = <&gpio_intc>; | ||
interrupts = <IRQID_GPIOAO_7 IRQ_TYPE_LEVEL_LOW>; | ||
interrupts = <IRQID_GPIOX_16 IRQ_TYPE_LEVEL_LOW>; | ||
|
||
gpio-line-names = | ||
"RELAY_1", "RELAY_2", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,8 @@ | |
/* | ||
* Copyright (c) 2024 JetHome | ||
* Author: Viacheslav Bocharov <[email protected]> | ||
* | ||
* JetHub D2 rev 1.3 | ||
*/ | ||
|
||
/dts-v1/; | ||
|
@@ -230,15 +232,15 @@ | |
led-green { | ||
color = <LED_COLOR_ID_GREEN>; | ||
function = LED_FUNCTION_STATUS; | ||
gpios = <&gpio_ao GPIOAO_11 GPIO_ACTIVE_LOW>; | ||
gpios = <&gpio_ao GPIOAO_11 GPIO_ACTIVE_HIGH>; | ||
linux,default-trigger = "heartbeat"; | ||
panic-indicator; | ||
}; | ||
|
||
led-red { | ||
color = <LED_COLOR_ID_RED>; | ||
function = LED_FUNCTION_POWER; | ||
gpios = <&gpio GPIOH_5 GPIO_ACTIVE_LOW>; | ||
gpios = <&gpio GPIOH_5 GPIO_ACTIVE_HIGH>; | ||
default-state = "off"; | ||
}; | ||
|
||
|
@@ -355,7 +357,8 @@ | |
"RS485_TX", /* GPIOX_6 */ | ||
"RS485_RX", /* GPIOX_7 */ | ||
"", "", "", "", "", "", /* GPIOX_8 - GPIOX_13 */ | ||
"", "", "", /* GPIOX_14 - GPIOX_16 */ | ||
"", "", /* GPIOX_14 - GPIOX_15 */ | ||
"GPIO_EXPANDER_INT", /* GPIOX_16 */ | ||
"I2C_SDA_LCDBUS", /* GPIOX_17 */ | ||
"I2C_SCL_LCDBUS", /* GPIOX_18 */ | ||
""; /* GPIOX_19 */ | ||
|
@@ -384,7 +387,7 @@ | |
"MCU_RESET", /* GPIOAO_4 */ | ||
"POWER_GOOD", /* GPIOAO_5 */ | ||
"TF_3V3N_1V8_EN", /* GPIOAO_6 */ | ||
"GPIO_EXPANDER_INT", /* GPIOAO_7 */ | ||
"MCU_BOOT", /* GPIOAO_7 */ | ||
"MCU_UART_TX", /* GPIOAO_8 */ | ||
"MCU_UART_RX", /* GPIOAO_9 */ | ||
"BUTTON_USR", /* GPIOAO_10 */ | ||
|
@@ -531,7 +534,7 @@ | |
interrupt-controller; | ||
#interrupt-cells = <2>; | ||
interrupt-parent = <&gpio_intc>; | ||
interrupts = <IRQID_GPIOAO_7 IRQ_TYPE_LEVEL_LOW>; | ||
interrupts = <IRQID_GPIOX_16 IRQ_TYPE_LEVEL_LOW>; | ||
|
||
gpio-line-names = | ||
"RELAY_1", "RELAY_2", | ||
|