Skip to content

Commit

Permalink
JeteHome: update JetHub D2 dt file to cpu board rev1.3
Browse files Browse the repository at this point in the history
Signed-off-by: Viacheslav Bocharov <[email protected]>
  • Loading branch information
adeepn authored and igorpecovnik committed Dec 24, 2024
1 parent 1ab7357 commit b80ff2c
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
/*
* Copyright (c) 2024 JetHome
* Author: Viacheslav Bocharov <[email protected]>
*
* JetHub D2 rev 1.3
*/

/dts-v1/;
Expand Down Expand Up @@ -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";
};

Expand Down Expand Up @@ -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 */
Expand Down Expand Up @@ -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 */
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
/*
* Copyright (c) 2024 JetHome
* Author: Viacheslav Bocharov <[email protected]>
*
* JetHub D2 rev 1.3
*/

/dts-v1/;
Expand Down Expand Up @@ -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";
};

Expand Down Expand Up @@ -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 */
Expand Down Expand Up @@ -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 */
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit b80ff2c

Please sign in to comment.